diff options
-rw-r--r-- | AST/Expr.cpp | 1 |
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: |