diff options
author | Kazu Hirata <kazu@google.com> | 2025-06-26 03:57:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-26 18:57:34 +0800 |
commit | 21def215b53e6e73f5025fc71cf486694e5c9a53 (patch) | |
tree | 4d0a27a787e214d4894541da288ae4f6a0cc8403 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 9ae41f017d8e6264ded66e2e476efb1dc2a280a1 (diff) | |
download | llvm-21def215b53e6e73f5025fc71cf486694e5c9a53.zip llvm-21def215b53e6e73f5025fc71cf486694e5c9a53.tar.gz llvm-21def215b53e6e73f5025fc71cf486694e5c9a53.tar.bz2 |
[Utils] Drop const from a return type (NFC) (#145838)
We don't need const on the return type.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int64_t>, std::vector<int64_t>> +static std::pair<std::vector<int64_t>, std::vector<int64_t>> remapIndices(Function &Caller, BasicBlock *StartBB, PGOContextualProfile &CtxProf, uint32_t CalleeCounters, uint32_t CalleeCallsites) { |