summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-26 21:16:25 +0000
committerEric Christopher <echristo@gmail.com>2013-07-26 21:16:25 +0000
commit8c86ead149e154bd41901c78140d6c5e889bd739 (patch)
treeb6224f7366b399c609e865b854eb587124c46017 /llvm/lib/IR
parenteb635b880e203ccb83c115601fa6c6f3ec17d283 (diff)
downloadbcm5719-llvm-8c86ead149e154bd41901c78140d6c5e889bd739.tar.gz
bcm5719-llvm-8c86ead149e154bd41901c78140d6c5e889bd739.zip
Use more parens to clarify assert.
llvm-svn: 187247
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 5c70a21fd81..58f054cf9fb 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -711,7 +711,7 @@ DIScope DIScope::getContext() const {
if (isNameSpace())
return DINameSpace(DbgNode).getContext();
- assert(isFile() || isCompileUnit() && "Unhandled type of scope.");
+ assert((isFile() || isCompileUnit()) && "Unhandled type of scope.");
return DIScope();
}
OpenPOWER on IntegriCloud