forked from OSchip/llvm-project
Properly initialize Preprocessor::CurLexerKind to avoid use of uninitialized variable.
llvm-svn: 140514
This commit is contained in:
parent
6f4f307d1f
commit
2d17ff466e
|
@ -61,8 +61,8 @@ Preprocessor::Preprocessor(DiagnosticsEngine &diags, LangOptions &opts,
|
|||
Identifiers(opts, IILookup), CodeComplete(0),
|
||||
CodeCompletionFile(0), CodeCompletionOffset(0), CodeCompletionReached(0),
|
||||
SkipMainFilePreamble(0, true), CurPPLexer(0),
|
||||
CurDirLookup(0), Callbacks(0), MacroArgCache(0), Record(0), MIChainHead(0),
|
||||
MICache(0)
|
||||
CurDirLookup(0), CurLexerKind(CLK_Lexer), Callbacks(0), MacroArgCache(0),
|
||||
Record(0), MIChainHead(0), MICache(0)
|
||||
{
|
||||
OwnsHeaderSearch = OwnsHeaders;
|
||||
|
||||
|
|
Loading…
Reference in New Issue