mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 17:55:18 +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,
|
static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI,
|
||||||
PassOptionList &PassesToPrint) {
|
PassOptionList &PassesToPrint) {
|
||||||
for (unsigned i = 0, ie = PassesToPrint.size(); i < ie; ++i) {
|
for (auto *PassInf : PassesToPrint) {
|
||||||
const llvm::PassInfo *PassInf = PassesToPrint[i];
|
|
||||||
if (PassInf)
|
if (PassInf)
|
||||||
if (PassInf->getPassArgument() == PI->getPassArgument()) {
|
if (PassInf->getPassArgument() == PI->getPassArgument()) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user