mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 05:35:11 +00:00
[TableGen] Use range-based for loop. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260928 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e9bf0962b
commit
33543a37a7
@ -75,8 +75,8 @@ private:
|
||||
static void PrintDefList(const std::vector<Record*> &Uses,
|
||||
unsigned Num, raw_ostream &OS) {
|
||||
OS << "static const MCPhysReg ImplicitList" << Num << "[] = { ";
|
||||
for (unsigned i = 0, e = Uses.size(); i != e; ++i)
|
||||
OS << getQualifiedName(Uses[i]) << ", ";
|
||||
for (Record *U : Uses)
|
||||
OS << getQualifiedName(U) << ", ";
|
||||
OS << "0 };\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user