summaryrefslogtreecommitdiff
path: root/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
commit2b393fb134c621a7f0824eaea35ad94eae7da062 (patch)
treeaa901b9401cea28d69a3f101ca495e014013da9a /lib/IR
parent32e12df253de7993f5a9bb89668d98ec0454f623 (diff)
downloadllvm-2b393fb134c621a7f0824eaea35ad94eae7da062.tar.gz
llvm-2b393fb134c621a7f0824eaea35ad94eae7da062.tar.bz2
llvm-2b393fb134c621a7f0824eaea35ad94eae7da062.tar.xz
Silence warning about mixing || in &&, fix up 80-cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/DebugInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp
index 80563e905f..f703bd2f7a 100644
--- a/lib/IR/DebugInfo.cpp
+++ b/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)