summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteMacros.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Driver/RewriteMacros.cpp')
-rw-r--r--clang/Driver/RewriteMacros.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/RewriteMacros.cpp b/clang/Driver/RewriteMacros.cpp
index 5106367839c..89310140813 100644
--- a/clang/Driver/RewriteMacros.cpp
+++ b/clang/Driver/RewriteMacros.cpp
@@ -73,7 +73,7 @@ static void LexRawTokensFromMainFile(Preprocessor &PP,
Token RawTok;
do {
- RawLex.LexRawToken(RawTok);
+ RawLex.LexFromRawLexer(RawTok);
// If we have an identifier with no identifier info for our raw token, look
// up the indentifier info. This is important for equality comparison of
OpenPOWER on IntegriCloud