зеркало из https://github.com/microsoft/clang-1.git
ccc/Driver: Normalize phase spelling in -ccc-print-phases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
3dbd6c51bc
Коммит
209333506a
|
@ -18,12 +18,12 @@ const char *Action::getClassName(ActionClass AC) {
|
|||
switch (AC) {
|
||||
case InputClass: return "input";
|
||||
case BindArchClass: return "bind-arch";
|
||||
case PreprocessJobClass: return "preprocess";
|
||||
case PrecompileJobClass: return "precompile";
|
||||
case AnalyzeJobClass: return "analyze";
|
||||
case CompileJobClass: return "compile";
|
||||
case AssembleJobClass: return "assemble";
|
||||
case LinkJobClass: return "link";
|
||||
case PreprocessJobClass: return "preprocessor";
|
||||
case PrecompileJobClass: return "precompiler";
|
||||
case AnalyzeJobClass: return "analyzer";
|
||||
case CompileJobClass: return "compiler";
|
||||
case AssembleJobClass: return "assembler";
|
||||
case LinkJobClass: return "linker";
|
||||
case LipoJobClass: return "lipo";
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ using namespace clang::driver;
|
|||
|
||||
const char *phases::getPhaseName(ID Id) {
|
||||
switch (Id) {
|
||||
case Preprocess: return "preprocesser";
|
||||
case Preprocess: return "preprocessor";
|
||||
case Precompile: return "precompiler";
|
||||
case Compile: return "compiler";
|
||||
case Assemble: return "assembler";
|
||||
|
|
|
@ -70,7 +70,7 @@ class PrecompilePhase(Phase):
|
|||
|
||||
class AnalyzePhase(Phase):
|
||||
def __init__(self):
|
||||
super(AnalyzePhase, self).__init__("analyze", Phase.eOrderCompile)
|
||||
super(AnalyzePhase, self).__init__("analyzer", Phase.eOrderCompile)
|
||||
|
||||
class SyntaxOnlyPhase(Phase):
|
||||
def __init__(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче