forked from OSchip/llvm-project
Fix a warning discovered by rL313487. [-Wunused-lambda-capture]
llvm-svn: 313511
This commit is contained in:
parent
a5b348be9d
commit
0004057985
|
@ -42,7 +42,7 @@ bool Preprocessor::isInPrimaryFile() const {
|
|||
"Top level include stack isn't our primary lexer?");
|
||||
return std::none_of(
|
||||
IncludeMacroStack.begin() + 1, IncludeMacroStack.end(),
|
||||
[this](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); });
|
||||
[](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); });
|
||||
}
|
||||
|
||||
/// getCurrentLexer - Return the current file lexer being lexed from. Note
|
||||
|
|
Loading…
Reference in New Issue