]> granicus.if.org Git - clang/commitdiff
Add clarifying parens.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 8 Nov 2009 09:46:46 +0000 (09:46 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 8 Nov 2009 09:46:46 +0000 (09:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86457 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGExpr.cpp

index e489b852910a1d64f5c16cc677041a505a65667b..15cb72e9fb88900c57b308dc387e7c5d8ecee75f 100644 (file)
@@ -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);