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
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 @@
 }
 
 
-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 @@
   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 @@
   GenInstrEnums, GenInstrs, GenAsmWriter,
   GenCallingConv,
   GenClangDiagsDefs,
-  GenClangDiagsOptions,
+  GenClangDiagGroups,
   GenDAGISel,
   GenFastISel,
   GenSubtarget,
@@ -91,8 +91,8 @@
                                "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 @@
     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);