From d2113f279b9e4bdc4a3d4f2226797be2322aa238 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 8 Nov 2009 09:46:46 +0000 Subject: Add clarifying parens. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86457 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CGExpr.cpp') diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index e489b85291..15cb72e9fb 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -815,7 +815,7 @@ static void setObjCGCLValueClass(const ASTContext &Ctx, const Expr *E, static LValue EmitGlobalVarDeclLValue(CodeGenFunction &CGF, const Expr *E, const VarDecl *VD) { - assert(VD->hasExternalStorage() || VD->isFileVarDecl() && + assert((VD->hasExternalStorage() || VD->isFileVarDecl()) && "Var decl must have external storage or be a file var decl!"); llvm::Value *V = CGF.CGM.GetAddrOfGlobalVar(VD); -- cgit v1.2.3