diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-09-18 05:52:57 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-09-18 05:52:57 +0000 |
commit | 7f10a34d88c5e8c9e2a3dbd13f19c1bf760736e3 (patch) | |
tree | e71b9c00f63472e27b6c75c70c2082974e8f50d7 /clang/lib/Lex/PPLexerChange.cpp | |
parent | fc52eb37af2f859ffeb11b08732f508845fb0c6d (diff) | |
download | bcm5719-llvm-7f10a34d88c5e8c9e2a3dbd13f19c1bf760736e3.tar.gz bcm5719-llvm-7f10a34d88c5e8c9e2a3dbd13f19c1bf760736e3.zip |
Revert rL313511, "Fix a warning discovered by rL313487. [-Wunused-lambda-capture]"
It was incompatible to msc.
llvm-svn: 313513
Diffstat (limited to 'clang/lib/Lex/PPLexerChange.cpp')
-rw-r--r-- | clang/lib/Lex/PPLexerChange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp index aa7cf17f080..5686871675d 100644 --- a/clang/lib/Lex/PPLexerChange.cpp +++ b/clang/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(), - [](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); }); + [this](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); }); } /// getCurrentLexer - Return the current file lexer being lexed from. Note |