We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4dbb4 commit 838b91dCopy full SHA for 838b91d
clang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp
@@ -341,7 +341,7 @@ const FunctionDecl *findTarget(const FunctionDecl *FD) {
341
342
// Returns the beginning location for a FunctionDecl. Returns location of
343
// template keyword for templated functions.
344
-const SourceLocation getBeginLoc(const FunctionDecl *FD) {
+SourceLocation getBeginLoc(const FunctionDecl *FD) {
345
// Include template parameter list.
346
if (auto *FTD = FD->getDescribedFunctionTemplate())
347
return FTD->getBeginLoc();
0 commit comments