[llvm-commits] [llvm] r50754 - in /llvm/trunk: tools/llvmc2/Makefile utils/TableGen/LLVMCConfigurationEmitter.cpp utils/TableGen/LLVMCConfigurationEmitter.h utils/TableGen/TableGen.cpp
Mikhail Glushenkov
foldr at codedgers.com
Tue May 6 11:12:03 PDT 2008
Author: foldr
Date: Tue May 6 13:12:03 2008
New Revision: 50754
URL: http://llvm.org/viewvc/llvm-project?rev=50754&view=rev
Log:
Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter.
Modified:
llvm/trunk/tools/llvmc2/Makefile
llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.h
llvm/trunk/utils/TableGen/TableGen.cpp
Modified: llvm/trunk/tools/llvmc2/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc2/Makefile?rev=50754&r1=50753&r2=50754&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc2/Makefile (original)
+++ llvm/trunk/tools/llvmc2/Makefile Tue May 6 13:12:03 2008
@@ -20,7 +20,7 @@
# The degree of horrorshowness in that file is too much for me atm.
$(ObjDir)/AutoGenerated.inc.tmp: $(TOOLS_SOURCE) $(ObjDir)/.dir
$(Echo) "Building LLVMCC configuration library with tblgen"
- $(Verb) $(TableGen) -gen-llvmcc -o $(call SYSPATH, $@) $<
+ $(Verb) $(TableGen) -gen-llvmc -o $(call SYSPATH, $@) $<
AutoGenerated.inc : $(ObjDir)/AutoGenerated.inc.tmp
$(Verb) $(CMP) -s $@ $< || $(CP) $< $@
Modified: llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp?rev=50754&r1=50753&r2=50754&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.cpp Tue May 6 13:12:03 2008
@@ -27,7 +27,7 @@
using namespace llvm;
-//namespace {
+namespace {
//===----------------------------------------------------------------------===//
/// Typedefs
@@ -1080,10 +1080,10 @@
// End of anonymous namespace
-//}
+}
// Back-end entry point
-void LLVMCCConfigurationEmitter::run (std::ostream &O) {
+void LLVMCConfigurationEmitter::run (std::ostream &O) {
// Emit file header
EmitSourceFileHeader("LLVMC Configuration Library", O);
Modified: llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.h?rev=50754&r1=50753&r2=50754&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.h (original)
+++ llvm/trunk/utils/TableGen/LLVMCConfigurationEmitter.h Tue May 6 13:12:03 2008
@@ -11,20 +11,20 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVMCCCONF_EMITTER_H
-#define LLVMCCCONF_EMITTER_H
+#ifndef LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
+#define LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
#include "TableGenBackend.h"
namespace llvm {
- class LLVMCCConfigurationEmitter : public TableGenBackend {
+ class LLVMCConfigurationEmitter : public TableGenBackend {
RecordKeeper &Records;
public:
- explicit LLVMCCConfigurationEmitter(RecordKeeper &R) : Records(R) {}
+ explicit LLVMCConfigurationEmitter(RecordKeeper &R) : Records(R) {}
// run - Output the asmwriter, returning true on failure.
void run(std::ostream &o);
};
}
-#endif //LLVMCCCONF_EMITTER_H
+#endif //LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
Modified: llvm/trunk/utils/TableGen/TableGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TableGen.cpp?rev=50754&r1=50753&r2=50754&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/TableGen.cpp (original)
+++ llvm/trunk/utils/TableGen/TableGen.cpp Tue May 6 13:12:03 2008
@@ -47,7 +47,7 @@
GenDAGISel,
GenSubtarget,
GenIntrinsic,
- GenLLVMCCConf,
+ GenLLVMCConf,
PrintEnums
};
@@ -78,8 +78,8 @@
"Generate subtarget enumerations"),
clEnumValN(GenIntrinsic, "gen-intrinsic",
"Generate intrinsic information"),
- clEnumValN(GenLLVMCCConf, "gen-llvmcc",
- "Generate LLVMCC configuration library"),
+ clEnumValN(GenLLVMCConf, "gen-llvmc",
+ "Generate LLVMC configuration library"),
clEnumValN(PrintEnums, "print-enums",
"Print enum values for a class"),
clEnumValEnd));
@@ -183,8 +183,8 @@
case GenIntrinsic:
IntrinsicEmitter(Records).run(*Out);
break;
- case GenLLVMCCConf:
- LLVMCCConfigurationEmitter(Records).run(*Out);
+ case GenLLVMCConf:
+ LLVMCConfigurationEmitter(Records).run(*Out);
break;
case PrintEnums:
{
More information about the llvm-commits
mailing list