diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:12:03 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:12:03 +0000 |
commit | c1f738d22cf05294eac8c6344079c9b821cb4a14 (patch) | |
tree | 83912c8e4847628b5ebcb915062c0c48faca2e18 /utils | |
parent | 0ed792020f625533ce3129c0cafb9c48afb81b9e (diff) | |
download | external_llvm-c1f738d22cf05294eac8c6344079c9b821cb4a14.zip external_llvm-c1f738d22cf05294eac8c6344079c9b821cb4a14.tar.gz external_llvm-c1f738d22cf05294eac8c6344079c9b821cb4a14.tar.bz2 |
Naming fix: LLVMCCConfigurationEmitter -> LLVMCConfigurationEmitter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/LLVMCConfigurationEmitter.cpp | 6 | ||||
-rw-r--r-- | utils/TableGen/LLVMCConfigurationEmitter.h | 10 | ||||
-rw-r--r-- | utils/TableGen/TableGen.cpp | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 73390af..aaa1099 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -27,7 +27,7 @@ using namespace llvm; -//namespace { +namespace { //===----------------------------------------------------------------------===// /// Typedefs @@ -1080,10 +1080,10 @@ void EmitPopulateCompilationGraph (Record* CompilationGraph, // 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); diff --git a/utils/TableGen/LLVMCConfigurationEmitter.h b/utils/TableGen/LLVMCConfigurationEmitter.h index 849f054..cb2d064 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.h +++ b/utils/TableGen/LLVMCConfigurationEmitter.h @@ -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 diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 1bc2790..64b2f97 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -47,7 +47,7 @@ enum ActionType { GenDAGISel, GenSubtarget, GenIntrinsic, - GenLLVMCCConf, + GenLLVMCConf, PrintEnums }; @@ -78,8 +78,8 @@ namespace { "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 @@ int main(int argc, char **argv) { case GenIntrinsic: IntrinsicEmitter(Records).run(*Out); break; - case GenLLVMCCConf: - LLVMCCConfigurationEmitter(Records).run(*Out); + case GenLLVMCConf: + LLVMCConfigurationEmitter(Records).run(*Out); break; case PrintEnums: { |