aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-24 15:04:15 +0000
committerChris Lattner <sabre@nondot.org>2005-10-24 15:04:15 +0000
commitdc93efe30e8fe819c7bd3abecf4b6ea50030e394 (patch)
tree2ddb944f01cff4e2a07408693ad7a0c5630288ec /utils/TableGen/CodeEmitterGen.cpp
parent08a6b3cf7ed105c49502716f835f0d8cd8be05b0 (diff)
Fix an incompatibility with GCC 4.1, thanks to Vladimir Merzliakov
for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index d8f8154806..ef3a6e9ad5 100644
--- a/utils/TableGen/CodeEmitterGen.cpp
+++ b/utils/TableGen/CodeEmitterGen.cpp
@@ -76,7 +76,6 @@ void CodeEmitterGen::run(std::ostream &o) {
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");
EmitSourceFileHeader("Machine Code Emitter", o);
- o << "namespace llvm {\n\n";
std::string Namespace = Insts[0]->getValueAsString("Namespace") + "::";
// Emit function declaration
@@ -255,6 +254,4 @@ void CodeEmitterGen::run(std::ostream &o) {
<< " }\n"
<< " return Value;\n"
<< "}\n\n";
-
- o << "} // End llvm namespace \n";
}