Skip to content

Commit 21def21

Browse files
[Utils] Drop const from a return type (NFC) (#145838)
We don't need const on the return type.
1 parent 9ae41f0 commit 21def21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/InlineFunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,7 @@ inlineRetainOrClaimRVCalls(CallBase &CB, objcarc::ARCInstKind RVCallKind,
22332233
// profile. Note: we only update the "name" and "index" operands in the
22342234
// instrumentation intrinsics, we leave the hash and total nr of indices as-is,
22352235
// it's not worth updating those.
2236-
static const std::pair<std::vector<int64_t>, std::vector<int64_t>>
2236+
static std::pair<std::vector<int64_t>, std::vector<int64_t>>
22372237
remapIndices(Function &Caller, BasicBlock *StartBB,
22382238
PGOContextualProfile &CtxProf, uint32_t CalleeCounters,
22392239
uint32_t CalleeCallsites) {

0 commit comments

Comments
 (0)