diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-26 21:16:25 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-26 21:16:25 +0000 |
commit | 388d3225dd26d5ebe1eaf4d993eff8cf602c258f (patch) | |
tree | c3f325de8fdb48d922e901c828bc432058575fd3 | |
parent | 0be31910e08bd70e35293d7f85c797071326c02c (diff) | |
download | external_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.cpp | 2 |
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(); } |