[clangd] Get rid of unnecessary global variable. No functionality change.

llvm-svn: 321525
This commit is contained in:
Benjamin Kramer 2017-12-28 15:03:02 +00:00
parent efdb49bc9a
commit b4c5c2dd15
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ bool fromJSON(const json::Expr &Params, WorkspaceEdit &R) {
return O && O.map("changes", R.changes);
}
const std::string ExecuteCommandParams::CLANGD_APPLY_FIX_COMMAND =
const llvm::StringLiteral ExecuteCommandParams::CLANGD_APPLY_FIX_COMMAND =
"clangd.applyFix";
bool fromJSON(const json::Expr &Params, ExecuteCommandParams &R) {

View File

@ -380,7 +380,7 @@ json::Expr toJSON(const WorkspaceEdit &WE);
/// one argument type will be parsed and set.
struct ExecuteCommandParams {
// Command to apply fix-its. Uses WorkspaceEdit as argument.
const static std::string CLANGD_APPLY_FIX_COMMAND;
const static llvm::StringLiteral CLANGD_APPLY_FIX_COMMAND;
/// The command identifier, e.g. CLANGD_APPLY_FIX_COMMAND
std::string command;