summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-02-10 18:29:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-02-10 18:29:28 +0000
commit7c2dc3667f74c0d7ed36c3d38ad5c7c99275e0f8 (patch)
tree5454d78dda4b03db812b4c794768de301a366e27 /clang/lib
parent66d84831705cc8fe5b3608169cb3f4fb6f233f3e (diff)
downloadbcm5719-llvm-7c2dc3667f74c0d7ed36c3d38ad5c7c99275e0f8.tar.gz
bcm5719-llvm-7c2dc3667f74c0d7ed36c3d38ad5c7c99275e0f8.zip
Fix think-o I committed without testing, shameful.
llvm-svn: 125299
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 5634c6cdd87..b0c337149d9 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -2369,7 +2369,7 @@ Sema::BuildDeclarationNameExpr(const CXXScopeSpec &SS,
// variable is within the block, create a normal DeclRefExpr.
QualType type = VD->getType();
- ExprValueKind valueKind = 0;
+ ExprValueKind valueKind = VK_RValue;
switch (D->getKind()) {
// Ignore all the non-ValueDecl kinds.
OpenPOWER on IntegriCloud