aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-19 00:44:06 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-19 00:44:06 +0000
commit4b71e3e439080e69cd369313bf2ad2c85bac8267 (patch)
tree37b04561cf130179c63ece9d5033ed03e213b7a6 /lib/Lex/Preprocessor.cpp
parentab7b32b7d4781859583c0329988c4e2ce42fc564 (diff)
Initialize CurPPLexer in Preprocessor's constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r--lib/Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp
index 1f9df50db3..2d4d3a7324 100644
--- a/lib/Lex/Preprocessor.cpp
+++ b/lib/Lex/Preprocessor.cpp
@@ -48,7 +48,7 @@ Preprocessor::Preprocessor(Diagnostic &diags, const LangOptions &opts,
HeaderSearch &Headers)
: Diags(diags), Features(opts), Target(target), FileMgr(Headers.getFileMgr()),
SourceMgr(SM), HeaderInfo(Headers), Identifiers(opts),
- CurLexer(0), CurDirLookup(0), CurTokenLexer(0), Callbacks(0) {
+ CurPPLexer(0), CurDirLookup(0), Callbacks(0) {
ScratchBuf = new ScratchBuffer(SourceMgr);
// Clear stats.