summaryrefslogtreecommitdiff
path: root/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
commit388d3225dd26d5ebe1eaf4d993eff8cf602c258f (patch)
treec3f325de8fdb48d922e901c828bc432058575fd3 /lib/IR
parent0be31910e08bd70e35293d7f85c797071326c02c (diff)
downloadllvm-388d3225dd26d5ebe1eaf4d993eff8cf602c258f.tar.gz
llvm-388d3225dd26d5ebe1eaf4d993eff8cf602c258f.tar.bz2
llvm-388d3225dd26d5ebe1eaf4d993eff8cf602c258f.tar.xz
Use more parens to clarify assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp
index 5c70a21fd8..58f054cf9f 100644
--- a/lib/IR/DebugInfo.cpp
+++ b/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();
}