summaryrefslogtreecommitdiffstats
path: root/clang/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
commit78cc24730e4250d08bc526322d2de7a04f9eae52 (patch)
tree8fb2a3314f030d46f4e30149d0d174a42a74abc9 /clang/lib/Lex/PPLexerChange.cpp
parentc183061f7c3d988f5683173effbd2080386d4b22 (diff)
downloadbcm5719-llvm-78cc24730e4250d08bc526322d2de7a04f9eae52.tar.gz
bcm5719-llvm-78cc24730e4250d08bc526322d2de7a04f9eae52.zip
PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change.
llvm-svn: 61381
Diffstat (limited to 'clang/lib/Lex/PPLexerChange.cpp')
-rw-r--r--clang/lib/Lex/PPLexerChange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp
index cd50f0e38f7..d25f4f4a56e 100644
--- a/clang/lib/Lex/PPLexerChange.cpp
+++ b/clang/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();
}
OpenPOWER on IntegriCloud