diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-15 20:02:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-15 20:02:32 +0000 |
commit | ac9e7da69c3fe26c6496f5093a953c2841df7a29 (patch) | |
tree | 3341a8483e21476f1ea7b894a7e521a92f7a33e9 /utils | |
parent | 28fc9d898d33d6975ba9b78918d547f6bfd9f675 (diff) | |
download | external_llvm-ac9e7da69c3fe26c6496f5093a953c2841df7a29.zip external_llvm-ac9e7da69c3fe26c6496f5093a953c2841df7a29.tar.gz external_llvm-ac9e7da69c3fe26c6496f5093a953c2841df7a29.tar.bz2 |
rename -gen-clang-diags-options -> -gen-clang-diag-groups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/ClangDiagnosticsEmitter.cpp | 2 | ||||
-rw-r--r-- | utils/TableGen/ClangDiagnosticsEmitter.h | 4 | ||||
-rw-r--r-- | utils/TableGen/TableGen.cpp | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/utils/TableGen/ClangDiagnosticsEmitter.cpp b/utils/TableGen/ClangDiagnosticsEmitter.cpp index 147e2fd..38c4eeb 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.cpp +++ b/utils/TableGen/ClangDiagnosticsEmitter.cpp @@ -165,7 +165,7 @@ static void BuildGroup(DiagnosticSet& DS, VisitedLists &Visited, } -void ClangOptionsEmitter::run(std::ostream &OS) { +void ClangDiagGroupsEmitter::run(std::ostream &OS) { // Build up a map from options to controlled diagnostics. OptionMap OM; diff --git a/utils/TableGen/ClangDiagnosticsEmitter.h b/utils/TableGen/ClangDiagnosticsEmitter.h index b241bde..58ea524 100644 --- a/utils/TableGen/ClangDiagnosticsEmitter.h +++ b/utils/TableGen/ClangDiagnosticsEmitter.h @@ -32,10 +32,10 @@ public: void run(std::ostream &OS); }; -class ClangOptionsEmitter : public TableGenBackend { +class ClangDiagGroupsEmitter : public TableGenBackend { RecordKeeper &Records; public: - explicit ClangOptionsEmitter(RecordKeeper &R) : Records(R) {} + explicit ClangDiagGroupsEmitter(RecordKeeper &R) : Records(R) {} void run(std::ostream &OS); }; diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 0e35629..dbc4d33 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -48,7 +48,7 @@ enum ActionType { GenInstrEnums, GenInstrs, GenAsmWriter, GenCallingConv, GenClangDiagsDefs, - GenClangDiagsOptions, + GenClangDiagGroups, GenDAGISel, GenFastISel, GenSubtarget, @@ -91,8 +91,8 @@ namespace { "Generate target intrinsic information"), clEnumValN(GenClangDiagsDefs, "gen-clang-diags-defs", "Generate Clang diagnostics definitions"), - clEnumValN(GenClangDiagsOptions, "gen-clang-diags-options", - "Generate options for Clang diagnostics"), + clEnumValN(GenClangDiagGroups, "gen-clang-diag-groups", + "Generate Clang diagnostic groups"), clEnumValN(GenLLVMCConf, "gen-llvmc", "Generate LLVMC configuration library"), clEnumValN(PrintEnums, "print-enums", @@ -212,8 +212,8 @@ int main(int argc, char **argv) { case GenClangDiagsDefs: ClangDiagsDefsEmitter(Records, ClangComponent).run(*Out); break; - case GenClangDiagsOptions: - ClangOptionsEmitter(Records).run(*Out); + case GenClangDiagGroups: + ClangDiagGroupsEmitter(Records).run(*Out); break; case GenDAGISel: DAGISelEmitter(Records).run(*Out); |