[llvm] [NFC] Use references to avoid copying (PR #110462)
Pratyay Pande via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 00:42:44 PDT 2024
================
@@ -256,7 +256,7 @@ void IntrinsicEmitter::EmitIntrinsicToOverloadTable(
static constexpr uint8_t OTable[] = {
0
)";
- for (auto [I, Int] : enumerate(Ints)) {
+ for (const auto [I, Int] : enumerate(Ints)) {
----------------
pratyay-p wrote:
Removed `const`
https://github.com/llvm/llvm-project/pull/110462
More information about the llvm-commits
mailing list