summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:08:59 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:08:59 +0000
commitd4918dd32c5af6480534905dd31793f66e47cae6 (patch)
tree53739bf3cc20a0989fdcb421c4798de6cdbe9e87 /llvm/utils/TableGen
parent2eb0268fab961a1592549ef20d89dfce7142f3b2 (diff)
downloadbcm5719-llvm-d4918dd32c5af6480534905dd31793f66e47cae6.tar.gz
bcm5719-llvm-d4918dd32c5af6480534905dd31793f66e47cae6.zip
Add output redirection, rename namespace llvmcc to namespace llvmc.
llvm-svn: 50746
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/LLVMCCConfigurationEmitter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/LLVMCCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCCConfigurationEmitter.cpp
index aa99b26c2b1..e79ff31a431 100644
--- a/llvm/utils/TableGen/LLVMCCConfigurationEmitter.cpp
+++ b/llvm/utils/TableGen/LLVMCCConfigurationEmitter.cpp
@@ -1,4 +1,4 @@
-//===- LLVMCConfigurationEmitter.cpp - Generate LLVMCC config -------------===//
+//===- LLVMCConfigurationEmitter.cpp - Generate LLVMC config --------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// This tablegen backend is responsible for emitting LLVMCC configuration code.
+// This tablegen backend is responsible for emitting LLVMC configuration code.
//
//===----------------------------------------------------------------------===//
@@ -848,7 +848,7 @@ void EmitPopulateLanguageMap (const RecordKeeper& Records, std::ostream& O)
throw std::string("Error in the language map definition!");
// Generate code
- O << "void llvmcc::PopulateLanguageMap(LanguageMap& language_map) {\n";
+ O << "void llvmc::PopulateLanguageMap(LanguageMap& language_map) {\n";
for (unsigned i = 0; i < LangsToSuffixesList->size(); ++i) {
Record* LangToSuffixes = LangsToSuffixesList->getElementAsRecord(i);
@@ -1040,7 +1040,7 @@ void EmitPopulateCompilationGraph (Record* CompilationGraph,
ListInit* edges = CompilationGraph->getValueAsListInit("edges");
// Generate code
- O << "void llvmcc::PopulateCompilationGraph(CompilationGraph& G) {\n"
+ O << "void llvmc::PopulateCompilationGraph(CompilationGraph& G) {\n"
<< Indent1 << "PopulateLanguageMap(G.ExtsToLangs);\n\n";
// Insert vertices
@@ -1085,7 +1085,7 @@ void EmitPopulateCompilationGraph (Record* CompilationGraph,
// Back-end entry point
void LLVMCCConfigurationEmitter::run (std::ostream &O) {
// Emit file header
- EmitSourceFileHeader("LLVMCC Configuration Library", O);
+ EmitSourceFileHeader("LLVMC Configuration Library", O);
// Get a list of all defined Tools
RecordVector Tools = Records.getAllDerivedDefinitions("Tool");
OpenPOWER on IntegriCloud