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 | 8c86ead149e154bd41901c78140d6c5e889bd739 (patch) | |
| tree | b6224f7366b399c609e865b854eb587124c46017 | |
| parent | eb635b880e203ccb83c115601fa6c6f3ec17d283 (diff) | |
| download | bcm5719-llvm-8c86ead149e154bd41901c78140d6c5e889bd739.tar.gz bcm5719-llvm-8c86ead149e154bd41901c78140d6c5e889bd739.zip | |
Use more parens to clarify assert.
llvm-svn: 187247
| -rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
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(); } |

