aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AST/Expr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/AST/Expr.cpp b/AST/Expr.cpp
index f323dffb1c..910bdf9311 100644
--- a/AST/Expr.cpp
+++ b/AST/Expr.cpp
@@ -365,6 +365,7 @@ bool Expr::isConstantExpr(ASTContext &Ctx, SourceLocation *Loc) const {
case ParenExprClass:
return cast<ParenExpr>(this)->getSubExpr()->isConstantExpr(Ctx, Loc);
case StringLiteralClass:
+ case ObjCStringLiteralClass:
case FloatingLiteralClass:
case IntegerLiteralClass:
case CharacterLiteralClass: