summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2017-07-13 10:52:00 +0000
committerFlorian Hahn <florian.hahn@arm.com>2017-07-13 10:52:00 +0000
commit03c3a1adece35295a7cab38d8e01199cf421dab0 (patch)
treeff48f2b69aae7b6e2a691add4d0553fe6e101eaf /clang/lib
parent9b9188d861db6e16b1094a3085c557ff007982b8 (diff)
downloadbcm5719-llvm-03c3a1adece35295a7cab38d8e01199cf421dab0.tar.gz
bcm5719-llvm-03c3a1adece35295a7cab38d8e01199cf421dab0.zip
[PM] Use range-based for loops in LegacyPassManager.cpp (NFC).
Summary: This patch replaces a bunch of iterator-based for loops with range-based for loops. There are 2 iterator-based loops left in this file in removeNotPreservedAnalysis, but I think those cannot be replaced by range-based for loops as they modify the container they are iterating over. Unless I missed something, this schould be a NFC and I would appreciate if someone could have a quick look to confirm that. Reviewers: chandlerc, pcc, jhenderson Reviewed By: jhenderson Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D35310 llvm-svn: 307902
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud