[clang-tools-extra] r319022 - Make helper function static. NFC.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 27 04:48:27 PST 2017
Author: d0k
Date: Mon Nov 27 04:48:26 2017
New Revision: 319022
URL: http://llvm.org/viewvc/llvm-project?rev=319022&view=rev
Log:
Make helper function static. NFC.
Modified:
clang-tools-extra/trunk/clangd/Protocol.cpp
Modified: clang-tools-extra/trunk/clangd/Protocol.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Protocol.cpp?rev=319022&r1=319021&r2=319022&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/Protocol.cpp (original)
+++ clang-tools-extra/trunk/clangd/Protocol.cpp Mon Nov 27 04:48:26 2017
@@ -843,7 +843,7 @@ CodeActionParams::parse(llvm::yaml::Mapp
return Result;
}
-llvm::Optional<std::map<std::string, std::vector<TextEdit>>>
+static llvm::Optional<std::map<std::string, std::vector<TextEdit>>>
parseWorkspaceEditChange(llvm::yaml::MappingNode *Params,
clangd::Logger &Logger) {
std::map<std::string, std::vector<TextEdit>> Result;
More information about the cfe-commits
mailing list