mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add a return after the llvm namespace code for a little extra
readability in generated files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a0485f5b9f
commit
4223496f24
@ -248,7 +248,7 @@ void InstrInfoEmitter::emitOperandNameMappings(raw_ostream &OS,
|
||||
|
||||
OS << "#ifdef GET_INSTRINFO_OPERAND_ENUM\n";
|
||||
OS << "#undef GET_INSTRINFO_OPERAND_ENUM\n";
|
||||
OS << "namespace llvm {";
|
||||
OS << "namespace llvm {\n";
|
||||
OS << "namespace " << Namespace << " {\n";
|
||||
OS << "namespace " << OpNameNS << " { \n";
|
||||
OS << "enum {\n";
|
||||
@ -264,7 +264,7 @@ void InstrInfoEmitter::emitOperandNameMappings(raw_ostream &OS,
|
||||
|
||||
OS << "#ifdef GET_INSTRINFO_NAMED_OPS\n";
|
||||
OS << "#undef GET_INSTRINFO_NAMED_OPS\n";
|
||||
OS << "namespace llvm {";
|
||||
OS << "namespace llvm {\n";
|
||||
OS << "namespace " << Namespace << " {\n";
|
||||
OS << "LLVM_READONLY\n";
|
||||
OS << "int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIdx) {\n";
|
||||
@ -315,7 +315,7 @@ void InstrInfoEmitter::emitOperandTypesEnum(raw_ostream &OS,
|
||||
|
||||
OS << "\n#ifdef GET_INSTRINFO_OPERAND_TYPES_ENUM\n";
|
||||
OS << "#undef GET_INSTRINFO_OPERAND_TYPES_ENUM\n";
|
||||
OS << "namespace llvm {";
|
||||
OS << "namespace llvm {\n";
|
||||
OS << "namespace " << Namespace << " {\n";
|
||||
OS << "namespace OpTypes { \n";
|
||||
OS << "enum OperandType {\n";
|
||||
|
Loading…
Reference in New Issue
Block a user