[PATCH] D64098: [NFC][clang] Refactor getCompilationPhases step 1: Move list of phases into Types.def table.
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 00:01:32 PDT 2019
aaron.ballman added inline comments.
Comment at: clang/lib/Driver/Types.cpp:305
+ for (auto Phase : getInfo(Id).Phases)
Can't you use the local `Phases` object instead of calling `getInfo()` again? This seems like it wants to be `P = Phases;`
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits