diff options
| author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2017-01-13 18:56:04 +0000 |
|---|---|---|
| committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2017-01-13 18:56:04 +0000 |
| commit | 3c3ae0e6dbf6417d4651e34da49231e1231ddb08 (patch) | |
| tree | bd42360903de3139d8f53c6410210f5d419212c5 /clang-tools-extra/clang-tidy/ClangTidy.cpp | |
| parent | c6e4583dbbdc3112c9a04d35a161dc9b4657f607 (diff) | |
| download | bcm5719-llvm-3c3ae0e6dbf6417d4651e34da49231e1231ddb08.tar.gz bcm5719-llvm-3c3ae0e6dbf6417d4651e34da49231e1231ddb08.zip | |
Remove unused lambda captures. NFC
llvm-svn: 291940
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidy.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidy.cpp b/clang-tools-extra/clang-tidy/ClangTidy.cpp index c39e22d4190..e107e8a2d97 100644 --- a/clang-tools-extra/clang-tidy/ClangTidy.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidy.cpp @@ -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" && |

