mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
VersionPrinter - use const auto& iterator in for-range-loop.
Avoids unnecessary copies and silences clang tidy warning.
This commit is contained in:
parent
b364785790
commit
beb00ef3a0
@ -2537,7 +2537,7 @@ public:
|
||||
// information.
|
||||
if (ExtraVersionPrinters != nullptr) {
|
||||
outs() << '\n';
|
||||
for (auto I : *ExtraVersionPrinters)
|
||||
for (const auto &I : *ExtraVersionPrinters)
|
||||
I(outs());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user