From 388d3225dd26d5ebe1eaf4d993eff8cf602c258f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 26 Jul 2013 21:16:25 +0000 Subject: [PATCH] Use more parens to clarify assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187247 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/DebugInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index 5c70a21fd81..58f054cf9fb 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(); } -- 2.34.1