Fix formatting of a tablegen register info file by putting a line break in a better...
authorCraig Topper <craig.topper@gmail.com>
Tue, 22 Sep 2015 05:37:14 +0000 (05:37 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 22 Sep 2015 05:37:14 +0000 (05:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248245 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/RegisterInfoEmitter.cpp

index f58a04a..d7dd9e7 100644 (file)
@@ -1476,9 +1476,8 @@ RegisterInfoEmitter::runTargetDesc(raw_ostream &OS, CodeGenTarget &Target,
   }
   OS << "}\n\n";
 
   }
   OS << "}\n\n";
 
-  OS << "const " << TargetName << "FrameLowering *"
-     << TargetName << "GenRegisterInfo::\n"
-     << "    getFrameLowering(const MachineFunction &MF) {\n"
+  OS << "const " << TargetName << "FrameLowering *\n" << TargetName
+     << "GenRegisterInfo::getFrameLowering(const MachineFunction &MF) {\n"
      << "  return static_cast<const " << TargetName << "FrameLowering *>(\n"
      << "      MF.getSubtarget().getFrameLowering());\n"
      << "}\n\n";
      << "  return static_cast<const " << TargetName << "FrameLowering *>(\n"
      << "      MF.getSubtarget().getFrameLowering());\n"
      << "}\n\n";