Skip to content

Commit

Permalink
Remove unused lambda captures. NFC
Browse files Browse the repository at this point in the history
llvm-svn: 291940
  • Loading branch information
pepsiman committed Jan 13, 2017
1 parent c6e4583 commit 3c3ae0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-tidy/ClangTidy.cpp
Original file line number Diff line number Diff line change
@@ -487,7 +487,7 @@ runClangTidy(std::unique_ptr<ClangTidyOptionsProvider> OptionsProvider,

// 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" &&

0 comments on commit 3c3ae0e

Please sign in to comment.