Fix spacing around function arguments.
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 28 Jun 2004 15:53:27 +0000 (15:53 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 28 Jun 2004 15:53:27 +0000 (15:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14463 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC32AsmPrinter.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PowerPCAsmPrinter.cpp

index d778550b5722e9b3d1a2300e502aa444e033a36d..c5825a786f07be2e5a8bd2bb69eac1632e0c60dc 100644 (file)
@@ -50,7 +50,7 @@ namespace {
     /// Name-mangler for global names.
     ///
     Mangler *Mang;
-    std::set< std::string > Stubs;
+    std::set<std::string> Stubs;
     std::set<std::string> Strings;
 
     Printer(std::ostream &o, TargetMachine &tm) : O(o), TM(tm) { }
@@ -66,8 +66,7 @@ namespace {
     }
 
     void printMachineInstruction(const MachineInstr *MI);
-    void printOp(const MachineOperand &MO,
-    bool elideOffsetKeyword = false);
+    void printOp(const MachineOperand &MO, bool elideOffsetKeyword = false);
     void printConstantPool(MachineConstantPool *MCP);
     bool runOnMachineFunction(MachineFunction &F);    
     bool doInitialization(Module &M);
@@ -82,7 +81,7 @@ namespace {
 /// using the given target machine description.  This should work
 /// regardless of whether the function is in SSA form.
 ///
-FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm){
+FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) {
   return new Printer(o, tm);
 }
 
@@ -428,7 +427,7 @@ void Printer::printOp(const MachineOperand &MO,
     return;
   case MachineOperand::MO_GlobalAddress:
     if (!elideOffsetKeyword) {
-      if(isa<Function>(MO.getGlobal())) {
+      if (isa<Function>(MO.getGlobal())) {
         Stubs.insert(Mang->getValueName(MO.getGlobal()));
         O << "L" << Mang->getValueName(MO.getGlobal()) << "$stub";
       } else {
index d778550b5722e9b3d1a2300e502aa444e033a36d..c5825a786f07be2e5a8bd2bb69eac1632e0c60dc 100644 (file)
@@ -50,7 +50,7 @@ namespace {
     /// Name-mangler for global names.
     ///
     Mangler *Mang;
-    std::set< std::string > Stubs;
+    std::set<std::string> Stubs;
     std::set<std::string> Strings;
 
     Printer(std::ostream &o, TargetMachine &tm) : O(o), TM(tm) { }
@@ -66,8 +66,7 @@ namespace {
     }
 
     void printMachineInstruction(const MachineInstr *MI);
-    void printOp(const MachineOperand &MO,
-    bool elideOffsetKeyword = false);
+    void printOp(const MachineOperand &MO, bool elideOffsetKeyword = false);
     void printConstantPool(MachineConstantPool *MCP);
     bool runOnMachineFunction(MachineFunction &F);    
     bool doInitialization(Module &M);
@@ -82,7 +81,7 @@ namespace {
 /// using the given target machine description.  This should work
 /// regardless of whether the function is in SSA form.
 ///
-FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm){
+FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) {
   return new Printer(o, tm);
 }
 
@@ -428,7 +427,7 @@ void Printer::printOp(const MachineOperand &MO,
     return;
   case MachineOperand::MO_GlobalAddress:
     if (!elideOffsetKeyword) {
-      if(isa<Function>(MO.getGlobal())) {
+      if (isa<Function>(MO.getGlobal())) {
         Stubs.insert(Mang->getValueName(MO.getGlobal()));
         O << "L" << Mang->getValueName(MO.getGlobal()) << "$stub";
       } else {
index d778550b5722e9b3d1a2300e502aa444e033a36d..c5825a786f07be2e5a8bd2bb69eac1632e0c60dc 100644 (file)
@@ -50,7 +50,7 @@ namespace {
     /// Name-mangler for global names.
     ///
     Mangler *Mang;
-    std::set< std::string > Stubs;
+    std::set<std::string> Stubs;
     std::set<std::string> Strings;
 
     Printer(std::ostream &o, TargetMachine &tm) : O(o), TM(tm) { }
@@ -66,8 +66,7 @@ namespace {
     }
 
     void printMachineInstruction(const MachineInstr *MI);
-    void printOp(const MachineOperand &MO,
-    bool elideOffsetKeyword = false);
+    void printOp(const MachineOperand &MO, bool elideOffsetKeyword = false);
     void printConstantPool(MachineConstantPool *MCP);
     bool runOnMachineFunction(MachineFunction &F);    
     bool doInitialization(Module &M);
@@ -82,7 +81,7 @@ namespace {
 /// using the given target machine description.  This should work
 /// regardless of whether the function is in SSA form.
 ///
-FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm){
+FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) {
   return new Printer(o, tm);
 }
 
@@ -428,7 +427,7 @@ void Printer::printOp(const MachineOperand &MO,
     return;
   case MachineOperand::MO_GlobalAddress:
     if (!elideOffsetKeyword) {
-      if(isa<Function>(MO.getGlobal())) {
+      if (isa<Function>(MO.getGlobal())) {
         Stubs.insert(Mang->getValueName(MO.getGlobal()));
         O << "L" << Mang->getValueName(MO.getGlobal()) << "$stub";
       } else {