diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-11-08 09:46:46 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-08 09:46:46 +0000 |
| commit | 7e215ea165f05ebb86ae40c36bf4dd27b3b813c7 (patch) | |
| tree | 2aa9fcd1263fa73f87277114775b171a569fecda | |
| parent | 3b339a3aa3ab1f6d614ea2c8ce25c1908a222e36 (diff) | |
| download | bcm5719-llvm-7e215ea165f05ebb86ae40c36bf4dd27b3b813c7.tar.gz bcm5719-llvm-7e215ea165f05ebb86ae40c36bf4dd27b3b813c7.zip | |
Add clarifying parens.
llvm-svn: 86457
| -rw-r--r-- | clang/lib/CodeGen/CGExpr.cpp | 2 |
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); |

