summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-03-27 15:03:14 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-03-27 15:03:14 +0000
commitb6bf15cba779e40c0092163fcfb4d72d965350cd (patch)
treea7370668365af47806a15ead8ebea9f40db62b81 /llvm/lib/IR
parentc1ec2dbbd24bf0b8d1d2a8480591e89bd1c83e2f (diff)
downloadbcm5719-llvm-b6bf15cba779e40c0092163fcfb4d72d965350cd.tar.gz
bcm5719-llvm-b6bf15cba779e40c0092163fcfb4d72d965350cd.zip
Silence warning about mixing || in &&, fix up 80-cols.
llvm-svn: 178144
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 80563e905f0..f703bd2f7a6 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -631,7 +631,9 @@ MDNode *DIDerivedType::getObjCProperty() const {
/// \brief Set the array of member DITypes.
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);
N->replaceOperandWith(11, Elements);
if (TParams)
OpenPOWER on IntegriCloud