[llvm-commits] [llvm] r69208 - in /llvm/trunk/utils/TableGen: ClangDiagnosticsEmitter.cpp ClangDiagnosticsEmitter.h TableGen.cpp
Chris Lattner
sabre at nondot.org
Wed Apr 15 13:02:32 PDT 2009
Author: lattner
Date: Wed Apr 15 15:02:32 2009
New Revision: 69208
URL: http://llvm.org/viewvc/llvm-project?rev=69208&view=rev
Log:
rename -gen-clang-diags-options -> -gen-clang-diag-groups
Modified:
llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.h
llvm/trunk/utils/TableGen/TableGen.cpp
Modified: llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp?rev=69208&r1=69207&r2=69208&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.cpp Wed Apr 15 15:02:32 2009
@@ -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;
Modified: llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.h?rev=69208&r1=69207&r2=69208&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.h (original)
+++ llvm/trunk/utils/TableGen/ClangDiagnosticsEmitter.h Wed Apr 15 15:02:32 2009
@@ -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);
};
Modified: llvm/trunk/utils/TableGen/TableGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TableGen.cpp?rev=69208&r1=69207&r2=69208&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/TableGen.cpp (original)
+++ llvm/trunk/utils/TableGen/TableGen.cpp Wed Apr 15 15:02:32 2009
@@ -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);
More information about the llvm-commits
mailing list