aboutsummaryrefslogtreecommitdiffstats
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
parent0be31910e08bd70e35293d7f85c797071326c02c (diff)
downloadexternal_llvm-388d3225dd26d5ebe1eaf4d993eff8cf602c258f.zip
external_llvm-388d3225dd26d5ebe1eaf4d993eff8cf602c258f.tar.gz
external_llvm-388d3225dd26d5ebe1eaf4d993eff8cf602c258f.tar.bz2
Use more parens to clarify assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187247 91177308-0d34-0410-b5e6-96231b3b80d8
-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 5c70a21..58f054c 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();
}