diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-09-18 04:55:33 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-09-18 04:55:33 +0000 |
commit | faa91c43b5a571fde880e1539a461bae426e93e1 (patch) | |
tree | 304d42f792649777bdab7d1e7ee851759f8e897e /lib/Lex/PPLexerChange.cpp | |
parent | fea155028f9b2ec46b7753f3079aa40f9d35288c (diff) |
Fix a warning discovered by rL313487. [-Wunused-lambda-capture]
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPLexerChange.cpp')
-rw-r--r-- | lib/Lex/PPLexerChange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PPLexerChange.cpp b/lib/Lex/PPLexerChange.cpp index 5686871675..aa7cf17f08 100644 --- a/lib/Lex/PPLexerChange.cpp +++ b/lib/Lex/PPLexerChange.cpp @@ -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 |