summaryrefslogtreecommitdiff
path: root/lib/Lex/PPLexerChange.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-23 19:24:24 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-23 19:24:24 +0000
commit59d08cb672136322375e5400578ee1fbd0947de2 (patch)
treef7e923cc68205635397dc35d09a2fc78e1b00d50 /lib/Lex/PPLexerChange.cpp
parent18d9afb815bd8aff885dd64c5078760b3398d7be (diff)
downloadclang-59d08cb672136322375e5400578ee1fbd0947de2.tar.gz
clang-59d08cb672136322375e5400578ee1fbd0947de2.tar.bz2
clang-59d08cb672136322375e5400578ee1fbd0947de2.tar.xz
PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPLexerChange.cpp')
-rw-r--r--lib/Lex/PPLexerChange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PPLexerChange.cpp b/lib/Lex/PPLexerChange.cpp
index cd50f0e38f..d25f4f4a56 100644
--- a/lib/Lex/PPLexerChange.cpp
+++ b/lib/Lex/PPLexerChange.cpp
@@ -308,7 +308,7 @@ bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) {
CurLexer.reset();
}
else {
- CurPTHLexer->setEOF(Result);
+ CurPTHLexer->getEOF(Result);
CurPTHLexer.reset();
}