summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-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 d14779b7e3c..4db17c344b6 100644
--- a/clang/lib/Lex/PPLexerChange.cpp
+++ b/clang/lib/Lex/PPLexerChange.cpp
@@ -41,7 +41,7 @@ bool Preprocessor::isInPrimaryFile() const {
assert(IsFileLexer(IncludeMacroStack[0]) &&
"Top level include stack isn't our primary lexer?");
return std::none_of(IncludeMacroStack.begin() + 1, IncludeMacroStack.end(),
- [](const IncludeStackInfo &ISI) -> bool {
+ [this](const IncludeStackInfo &ISI) -> bool {
return IsFileLexer(ISI);
});
}
OpenPOWER on IntegriCloud