[cfe-commits] r125299 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Daniel Dunbar daniel at zuster.org
Thu Feb 10 10:29:28 PST 2011


Author: ddunbar
Date: Thu Feb 10 12:29:28 2011
New Revision: 125299

URL: http://llvm.org/viewvc/llvm-project?rev=125299&view=rev
Log:
Fix think-o I committed without testing, shameful.

Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=125299&r1=125298&r2=125299&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Thu Feb 10 12:29:28 2011
@@ -2369,7 +2369,7 @@
     // 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.





More information about the cfe-commits mailing list