[PATCH] D138019: [ARM][AArch64] De-template TargetParser types
Lucas Prates via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 02:34:55 PST 2022
pratlucas added inline comments.
================
Comment at: llvm/lib/Support/ARMTargetParser.cpp:486
void ARM::fillValidCPUArchList(SmallVectorImpl<StringRef> &Values) {
- for (const CpuNames<ArchKind> &Arch : CPUNames) {
+ for (const CpuNames &Arch : CPUNames) {
if (Arch.ArchID != ArchKind::INVALID)
----------------
Nit: use `const auto &` here instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138019/new/
https://reviews.llvm.org/D138019
More information about the llvm-commits
mailing list