1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Silence warning about mixing || in &&, fix up 80-cols.

llvm-svn: 178144
This commit is contained in:
Benjamin Kramer 2013-03-27 15:03:14 +00:00
parent 937268691d
commit f47297d659

View File

@ -631,7 +631,9 @@ MDNode *DIDerivedType::getObjCProperty() const {
/// \brief Set the array of member DITypes. /// \brief Set the array of member DITypes.
void DICompositeType::setTypeArray(DIArray Elements, DIArray TParams) { void DICompositeType::setTypeArray(DIArray Elements, DIArray TParams) {
assert(!TParams || DbgNode->getNumOperands() == 15 && "If you're setting the template parameters this should include a slot for that"); assert((!TParams || DbgNode->getNumOperands() == 15) &&
"If you're setting the template parameters this should include a slot "
"for that!");
TrackingVH<MDNode> N(*this); TrackingVH<MDNode> N(*this);
N->replaceOperandWith(11, Elements); N->replaceOperandWith(11, Elements);
if (TParams) if (TParams)