Skip to content

Commit 838b91d

Browse files
[clangd] Drop const from a return type (NFC) (#146623)
We don't need const on a return type.
1 parent 7b4dbb4 commit 838b91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ const FunctionDecl *findTarget(const FunctionDecl *FD) {
341341

342342
// Returns the beginning location for a FunctionDecl. Returns location of
343343
// template keyword for templated functions.
344-
const SourceLocation getBeginLoc(const FunctionDecl *FD) {
344+
SourceLocation getBeginLoc(const FunctionDecl *FD) {
345345
// Include template parameter list.
346346
if (auto *FTD = FD->getDescribedFunctionTemplate())
347347
return FTD->getBeginLoc();

0 commit comments

Comments
 (0)