diff options
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index 5e2fdf0..18d4db0 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -223,7 +223,7 @@ void InstrInfoEmitter::run(raw_ostream &OS) { OS << "#undef GET_INSTRINFO_HEADER\n"; std::string ClassName = TargetName + "GenInstrInfo"; - OS << "namespace llvm {\n\n"; + OS << "namespace llvm {\n"; OS << "struct " << ClassName << " : public TargetInstrInfoImpl {\n" << " explicit " << ClassName << "(int SO = -1, int DO = -1);\n" << "};\n"; @@ -234,7 +234,7 @@ void InstrInfoEmitter::run(raw_ostream &OS) { OS << "\n#ifdef GET_INSTRINFO_CTOR\n"; OS << "#undef GET_INSTRINFO_CTOR\n"; - OS << "namespace llvm {\n\n"; + OS << "namespace llvm {\n"; OS << ClassName << "::" << ClassName << "(int SO, int DO)\n" << " : TargetInstrInfoImpl(SO, DO) {\n" << " InitMCInstrInfo(" << TargetName << "Insts, " |