Skip to content

Commit 9a678fc

Browse files
[IR] Drop unnecessary const from a return type (NFC)
Identified with readability-const-return-type.
1 parent 9729835 commit 9a678fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ class DILocation : public MDNode {
19211921

19221922
/// Return the linkage name of Subprogram. If the linkage name is empty,
19231923
/// return scope name (the demangled name).
1924-
const StringRef getSubprogramLinkageName() const {
1924+
StringRef getSubprogramLinkageName() const {
19251925
DISubprogram *SP = getScope()->getSubprogram();
19261926
if (!SP)
19271927
return "";

0 commit comments

Comments
 (0)