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:
parent
937268691d
commit
f47297d659
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user