Author: ibiryukov Date: Wed Jan 30 01:39:01 2019 New Revision: 352612 URL: http://llvm.org/viewvc/llvm-project?rev=352612&view=rev Log: [clangd] Fix a use after move
Introduced in r352494. Modified: clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp Modified: clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp?rev=352612&r1=352611&r2=352612&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp (original) +++ clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp Wed Jan 30 01:39:01 2019 @@ -697,8 +697,8 @@ void ClangdLSPServer::onCodeAction(const }; Server->enumerateTweaks(File.file(), Params.range, - Bind(ConsumeActions, std::move(Reply), - std::move(File), std::move(*Code), Params.range, + Bind(ConsumeActions, std::move(Reply), File, + std::move(*Code), Params.range, std::move(FixIts))); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits