[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner sabre at nondot.org
Tue Dec 5 20:42:07 PST 2006



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.217 -> 1.218
---
Log message:

wrap long lines


---
Diffs of the changes:  (+6 -4)

 AsmWriter.cpp |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.217 llvm/lib/VMCore/AsmWriter.cpp:1.218
--- llvm/lib/VMCore/AsmWriter.cpp:1.217	Sun Dec  3 23:19:18 2006
+++ llvm/lib/VMCore/AsmWriter.cpp	Tue Dec  5 22:41:52 2006
@@ -873,7 +873,8 @@
   // Loop over the symbol table, emitting all named constants.
   printSymbolTable(M->getSymbolTable());
 
-  for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); I != E; ++I)
+  for (Module::const_global_iterator I = M->global_begin(), E = M->global_end();
+       I != E; ++I)
     printGlobal(I);
 
   Out << "\nimplementation   ; Functions:\n";
@@ -1028,7 +1029,8 @@
   // Loop over the arguments, printing them...
   const FunctionType *FT = F->getFunctionType();
 
-  for(Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; ++I)
+  for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end();
+       I != E; ++I)
     printArgument(I);
 
   // Finish printing arguments...
@@ -1504,8 +1506,8 @@
   SC_DEBUG("begin processModule!\n");
 
   // Add all of the global variables to the value table...
-  for (Module::const_global_iterator I = TheModule->global_begin(), E = TheModule->global_end();
-       I != E; ++I)
+  for (Module::const_global_iterator I = TheModule->global_begin(),
+       E = TheModule->global_end(); I != E; ++I)
     createSlot(I);
 
   // Add all the functions to the table






More information about the llvm-commits mailing list