[cfe-commits] r56093 - /cfe/trunk/lib/AST/Expr.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Wed Sep 10 21:22:26 PDT 2008
Author: akirtzidis
Date: Wed Sep 10 23:22:26 2008
New Revision: 56093
URL: http://llvm.org/viewvc/llvm-project?rev=56093&view=rev
Log:
CXXConditionDeclExpr expression node is an lvalue.
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=56093&r1=56092&r2=56093&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Wed Sep 10 23:22:26 2008
@@ -460,6 +460,8 @@
? LV_InvalidExpression : LV_Valid);
case CXXDefaultArgExprClass:
return cast<CXXDefaultArgExpr>(this)->getExpr()->isLvalue(Ctx);
+ case CXXConditionDeclExprClass:
+ return LV_Valid;
default:
break;
}
More information about the cfe-commits
mailing list