mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 04:56:51 +00:00
Use a range based for loop for the SubtargetFeatures print function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccad744d4a
commit
887ab99a6e
@ -309,8 +309,8 @@ SubtargetFeatures::getFeatureBits(const StringRef CPU,
|
||||
/// print - Print feature string.
|
||||
///
|
||||
void SubtargetFeatures::print(raw_ostream &OS) const {
|
||||
for (size_t i = 0, e = Features.size(); i != e; ++i)
|
||||
OS << Features[i] << " ";
|
||||
for (auto &F : Features)
|
||||
OS << F << " ";
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user