[cfe-commits] r55245 - /cfe/trunk/lib/AST/Expr.cpp
Anders Carlsson
andersca at mac.com
Sat Aug 23 11:49:33 PDT 2008
Author: andersca
Date: Sat Aug 23 13:49:32 2008
New Revision: 55245
URL: http://llvm.org/viewvc/llvm-project?rev=55245&view=rev
Log:
Handle AddrLabelExprs in Expr::isConstantExpr
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=55245&r1=55244&r2=55245&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Sat Aug 23 13:49:32 2008
@@ -556,6 +556,7 @@
case ImaginaryLiteralClass:
case TypesCompatibleExprClass:
case CXXBoolLiteralExprClass:
+ case AddrLabelExprClass:
return true;
case CallExprClass: {
const CallExpr *CE = cast<CallExpr>(this);
More information about the cfe-commits
mailing list