summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-08 09:46:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-08 09:46:46 +0000
commit7e215ea165f05ebb86ae40c36bf4dd27b3b813c7 (patch)
tree2aa9fcd1263fa73f87277114775b171a569fecda
parent3b339a3aa3ab1f6d614ea2c8ce25c1908a222e36 (diff)
downloadbcm5719-llvm-7e215ea165f05ebb86ae40c36bf4dd27b3b813c7.tar.gz
bcm5719-llvm-7e215ea165f05ebb86ae40c36bf4dd27b3b813c7.zip
Add clarifying parens.
llvm-svn: 86457
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index e489b852910..15cb72e9fb8 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud