Skip to content

Commit 403c722

Browse files
[ByteCode] Drop const from a return type (NFC) (#141415)
1 parent 843e362 commit 403c722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ByteCode/Function.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Function final {
115115

116116
/// Returns the name of the function decl this code
117117
/// was generated for.
118-
const std::string getName() const {
118+
std::string getName() const {
119119
if (!Source || !getDecl())
120120
return "<<expr>>";
121121

0 commit comments

Comments
 (0)