projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be3191
)
Use more parens to clarify assert.
author
Eric Christopher
<echristo@gmail.com>
Fri, 26 Jul 2013 21:16:25 +0000
(21:16 +0000)
committer
Eric Christopher
<echristo@gmail.com>
Fri, 26 Jul 2013 21:16:25 +0000
(21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187247
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/DebugInfo.cpp
b/lib/IR/DebugInfo.cpp
index 5c70a21fd81d613e6aeef2d5200ac010b74df32c..58f054cf9fbdb1dcff514bc1c7d1eba1c18f2768 100644
(file)
--- 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();
}