aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorAndy Kaylor <akaylor@nvidia.com>2025-09-09 09:56:24 -0700
committerGitHub <noreply@github.com>2025-09-09 09:56:24 -0700
commit20c08f36d7d39c97a4979d9a9fd1a5b7fb53e268 (patch)
tree9edf563939d66f7d244d341f08de16b8a16e9092 /llvm/lib/CodeGen/TargetPassConfig.cpp
parent0b9a79bb9a8e45d1d2f9ac5f8de68e99c24dfc3b (diff)
downloadllvm-20c08f36d7d39c97a4979d9a9fd1a5b7fb53e268.zip
llvm-20c08f36d7d39c97a4979d9a9fd1a5b7fb53e268.tar.gz
llvm-20c08f36d7d39c97a4979d9a9fd1a5b7fb53e268.tar.bz2
[Clang][CodeGen]NFC] Modernize loops in EmitCtorPrologue (#155668)
This patch updates the loops in EmitCtorPrologue to use range-based for loops rather than looping over a single iterator which was being shared between three loops. Setting up three separate ranges adds a very small amount of overhead, but it improves the readability and maintainability of the code.
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions