mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
[NFC] Converting to range-based for.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39e7388a19
commit
054c79645c
@ -88,8 +88,7 @@ PrintAfterAll("print-after-all",
|
||||
|
||||
static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI,
|
||||
PassOptionList &PassesToPrint) {
|
||||
for (unsigned i = 0, ie = PassesToPrint.size(); i < ie; ++i) {
|
||||
const llvm::PassInfo *PassInf = PassesToPrint[i];
|
||||
for (auto *PassInf : PassesToPrint) {
|
||||
if (PassInf)
|
||||
if (PassInf->getPassArgument() == PI->getPassArgument()) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user