[clangd] Get rid of unnecessary global variable. No functionality change.
llvm-svn: 321525
This commit is contained in:
parent
efdb49bc9a
commit
b4c5c2dd15
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue