From 21def215b53e6e73f5025fc71cf486694e5c9a53 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 26 Jun 2025 03:57:34 -0700 Subject: [Utils] Drop const from a return type (NFC) (#145838) We don't need const on the return type. --- llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp') diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index 7df5e99..bb198d7 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp @@ -2233,7 +2233,7 @@ inlineRetainOrClaimRVCalls(CallBase &CB, objcarc::ARCInstKind RVCallKind, // profile. Note: we only update the "name" and "index" operands in the // instrumentation intrinsics, we leave the hash and total nr of indices as-is, // it's not worth updating those. -static const std::pair, std::vector> +static std::pair, std::vector> remapIndices(Function &Caller, BasicBlock *StartBB, PGOContextualProfile &CtxProf, uint32_t CalleeCounters, uint32_t CalleeCallsites) { -- cgit v1.1