[cfe-commits] r43946 - /cfe/trunk/AST/Expr.cpp
Steve Naroff
snaroff at apple.com
Fri Nov 9 07:00:04 PST 2007
Author: snaroff
Date: Fri Nov 9 09:00:03 2007
New Revision: 43946
URL: http://llvm.org/viewvc/llvm-project?rev=43946&view=rev
Log:
Recognize ObjCStringLiteral as a constant expression.
Modified:
cfe/trunk/AST/Expr.cpp
Modified: cfe/trunk/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Expr.cpp?rev=43946&r1=43945&r2=43946&view=diff
==============================================================================
--- cfe/trunk/AST/Expr.cpp (original)
+++ cfe/trunk/AST/Expr.cpp Fri Nov 9 09:00:03 2007
@@ -365,6 +365,7 @@
case ParenExprClass:
return cast<ParenExpr>(this)->getSubExpr()->isConstantExpr(Ctx, Loc);
case StringLiteralClass:
+ case ObjCStringLiteralClass:
case FloatingLiteralClass:
case IntegerLiteralClass:
case CharacterLiteralClass:
More information about the cfe-commits
mailing list