diff options
author | Nico Weber <thakis@chromium.org> | 2021-09-29 15:19:36 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-09-30 14:17:14 -0400 |
commit | fa32fd3bf7c070e62487e5ccba00557d57b2ee5c (patch) | |
tree | 46176bbbb527507fac409dafe83065efb8d47649 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6714e1ce3b5ec02af2f9ab878bd10d273f02aa7e (diff) | |
download | llvm-fa32fd3bf7c070e62487e5ccba00557d57b2ee5c.zip llvm-fa32fd3bf7c070e62487e5ccba00557d57b2ee5c.tar.gz llvm-fa32fd3bf7c070e62487e5ccba00557d57b2ee5c.tar.bz2 |
[clang] Remove duplication in types::getCompilationPhases()
Call Driver::getFinalPhase() instead of duplicating it.
https://reviews.llvm.org/D65993 added the duplication, then
02e35832c301e maded it more obviously a copy of getFinalPhase().
The only difference is that getCompilationPhases() used to use
LastPhase / IfsMerge where getFinalPhase() used Link. Adapt
getFinalPhase() to return IfsMerge when needed.
No intentional behavior change.
Differential Revision: https://reviews.llvm.org/D110770
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions