[clang-tools-extra] r291940 - Remove unused lambda captures. NFC
Malcolm Parsons via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 13 10:56:05 PST 2017
Author: malcolm.parsons
Date: Fri Jan 13 12:56:04 2017
New Revision: 291940
URL: http://llvm.org/viewvc/llvm-project?rev=291940&view=rev
Log:
Remove unused lambda captures. NFC
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
Modified: clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp?rev=291940&r1=291939&r2=291940&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp Fri Jan 13 12:56:04 2017
@@ -487,7 +487,7 @@ runClangTidy(std::unique_ptr<ClangTidyOp
// Remove plugins arguments.
ArgumentsAdjuster PluginArgumentsRemover =
- [&Context](const CommandLineArguments &Args, StringRef Filename) {
+ [](const CommandLineArguments &Args, StringRef Filename) {
CommandLineArguments AdjustedArgs;
for (size_t I = 0, E = Args.size(); I < E; ++I) {
if (I + 4 < Args.size() && Args[I] == "-Xclang" &&
More information about the cfe-commits
mailing list