forked from OSchip/llvm-project
Don't emit the method into the llvm namespace, let the #includer decide where it goes
llvm-svn: 16934
This commit is contained in:
parent
cfa7268e20
commit
5499551206
|
@ -27,7 +27,6 @@ static bool isIdentChar(char C) {
|
||||||
|
|
||||||
void AsmWriterEmitter::run(std::ostream &O) {
|
void AsmWriterEmitter::run(std::ostream &O) {
|
||||||
EmitSourceFileHeader("Assembly Writer Source Fragment", O);
|
EmitSourceFileHeader("Assembly Writer Source Fragment", O);
|
||||||
O << "namespace llvm {\n\n";
|
|
||||||
|
|
||||||
CodeGenTarget Target;
|
CodeGenTarget Target;
|
||||||
Record *AsmWriter = Target.getAsmWriter();
|
Record *AsmWriter = Target.getAsmWriter();
|
||||||
|
@ -140,5 +139,4 @@ void AsmWriterEmitter::run(std::ostream &O) {
|
||||||
O << " }\n"
|
O << " }\n"
|
||||||
" return true;\n"
|
" return true;\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
O << "} // End llvm namespace \n";
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue