https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141415
None >From 9300bcb2f81f3bce140fca25b2f96544acec9e79 Mon Sep 17 00:00:00 2001 From: Kazu Hirata <k...@google.com> Date: Sat, 24 May 2025 20:41:08 -0700 Subject: [PATCH] [ByteCode] Drop const from a return type (NFC) --- clang/lib/AST/ByteCode/Function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/AST/ByteCode/Function.h b/clang/lib/AST/ByteCode/Function.h index 45a1c1bf9f839..8b577858474af 100644 --- a/clang/lib/AST/ByteCode/Function.h +++ b/clang/lib/AST/ByteCode/Function.h @@ -115,7 +115,7 @@ class Function final { /// Returns the name of the function decl this code /// was generated for. - const std::string getName() const { + std::string getName() const { if (!Source || !getDecl()) return "<<expr>>"; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits