Batch search/replace snafu (inadvertantly changed IntegerConstant->StringLiteral).
clang still compiled/linked/ran properly...simply a confusing name regression.
From now on I'll make sure I run "cvs diff" before committing any changes!
llvm-svn: 39342
diff --git a/clang/Parse/ParseExpr.cpp b/clang/Parse/ParseExpr.cpp
index 3bf84dd..b2d5144 100644
--- a/clang/Parse/ParseExpr.cpp
+++ b/clang/Parse/ParseExpr.cpp
@@ -476,7 +476,7 @@
// TODO: Validate whether this is an integer or floating-constant or
// neither.
if (1) {
- Res = Actions.ParseStringLiteral(Tok.getLocation());
+ Res = Actions.ParseIntegerLiteral(Tok.getLocation());
} else {
Res = Actions.ParseFloatingLiteral(Tok.getLocation());
}
@@ -929,5 +929,5 @@
} while (isTokenStringLiteral());
// Pass the set of string tokens, ready for concatenation, to the actions.
- return Actions.ParseStringExpr(&StringToks[0], StringToks.size());
+ return Actions.ParseStringLiteral(&StringToks[0], StringToks.size());
}