diff options
Diffstat (limited to 'clang-tools-extra/clangd/ClangdServer.h')
| -rw-r--r-- | clang-tools-extra/clangd/ClangdServer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/ClangdServer.h b/clang-tools-extra/clangd/ClangdServer.h index cc9f713c85f..f53718fa457 100644 --- a/clang-tools-extra/clangd/ClangdServer.h +++ b/clang-tools-extra/clangd/ClangdServer.h @@ -214,7 +214,7 @@ public: Callback<std::vector<tooling::Replacement>> CB); struct TweakRef { - TweakID ID; /// ID to pass for applyTweak. + std::string ID; /// ID to pass for applyTweak. std::string Title; /// A single-line message to show in the UI. }; /// Enumerate the code tweaks available to the user at a specified point. @@ -222,7 +222,7 @@ public: Callback<std::vector<TweakRef>> CB); /// Apply the code tweak with a specified \p ID. - void applyTweak(PathRef File, Range Sel, TweakID ID, + void applyTweak(PathRef File, Range Sel, StringRef ID, Callback<tooling::Replacements> CB); /// Only for testing purposes. |

