aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-12 16:21:18 +0000
committerChris Lattner <sabre@nondot.org>2004-10-12 16:21:18 +0000
commit9d990a01a9d747325325a766afe647309dacce66 (patch)
tree4350398e06ceb723403156d94e9dd464868f556e /utils/TableGen
parent5c3734e349a93e658454f2d4c567e5e0549461f4 (diff)
downloadexternal_llvm-9d990a01a9d747325325a766afe647309dacce66.zip
external_llvm-9d990a01a9d747325325a766afe647309dacce66.tar.gz
external_llvm-9d990a01a9d747325325a766afe647309dacce66.tar.bz2
Don't emit the method into the llvm namespace, let the #includer decide where it goes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/AsmWriterEmitter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp
index a2cc21d..3c32438 100644
--- a/utils/TableGen/AsmWriterEmitter.cpp
+++ b/utils/TableGen/AsmWriterEmitter.cpp
@@ -27,7 +27,6 @@ static bool isIdentChar(char C) {
void AsmWriterEmitter::run(std::ostream &O) {
EmitSourceFileHeader("Assembly Writer Source Fragment", O);
- O << "namespace llvm {\n\n";
CodeGenTarget Target;
Record *AsmWriter = Target.getAsmWriter();
@@ -140,5 +139,4 @@ void AsmWriterEmitter::run(std::ostream &O) {
O << " }\n"
" return true;\n"
"}\n";
- O << "} // End llvm namespace \n";
}