[clangd] Drop const from a return type (NFC) (#146623)

We don't need const on a return type.
This commit is contained in:
Kazu Hirata
2025-07-01 22:49:56 -07:00
committed by GitHub
parent 7b4dbb4f37
commit 838b91d7f6

View File

@@ -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();