diff options
author | Kazu Hirata <kazu@google.com> | 2025-07-01 22:49:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 22:49:56 -0700 |
commit | 838b91d7f6838a447e7869e63a9493bf77bc0a6d (patch) | |
tree | 04eb92206b26d00b00571bf62a2942d5c6e137a3 | |
parent | 7b4dbb4f37d8d40f48df6092fe54503a491eb3c2 (diff) | |
download | llvm-838b91d7f6838a447e7869e63a9493bf77bc0a6d.zip llvm-838b91d7f6838a447e7869e63a9493bf77bc0a6d.tar.gz llvm-838b91d7f6838a447e7869e63a9493bf77bc0a6d.tar.bz2 |
[clangd] Drop const from a return type (NFC) (#146623)
We don't need const on a return type.
-rw-r--r-- | clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp b/clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp index d6556bb..c970449 100644 --- a/clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp +++ b/clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp @@ -341,7 +341,7 @@ const FunctionDecl *findTarget(const FunctionDecl *FD) { // Returns the beginning location for a FunctionDecl. Returns location of // template keyword for templated functions. -const SourceLocation getBeginLoc(const FunctionDecl *FD) { +SourceLocation getBeginLoc(const FunctionDecl *FD) { // Include template parameter list. if (auto *FTD = FD->getDescribedFunctionTemplate()) return FTD->getBeginLoc(); |