forked from OSchip/llvm-project
[NFC][clangd] Remove unused lambda capture
Avoid this warning: llvm/clang-tools-extra/clangd/ClangdServer.cpp:365:23: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] auto Action = [Sel, this](decltype(CB) CB, std::string File, ~~^~~~ 1 warning generated. llvm-svn: 353760
This commit is contained in:
parent
b2d245771f
commit
1608c12027
|
@ -362,7 +362,7 @@ void ClangdServer::enumerateTweaks(PathRef File, Range Sel,
|
|||
|
||||
void ClangdServer::applyTweak(PathRef File, Range Sel, StringRef TweakID,
|
||||
Callback<tooling::Replacements> CB) {
|
||||
auto Action = [Sel, this](decltype(CB) CB, std::string File,
|
||||
auto Action = [Sel](decltype(CB) CB, std::string File,
|
||||
std::string TweakID,
|
||||
Expected<InputsAndAST> InpAST) {
|
||||
if (!InpAST)
|
||||
|
|
Loading…
Reference in New Issue