[llvm-commits] CVS: llvm/examples/BFtoLLVM/BFtoLLVM.cpp

Misha Brukman brukman at cs.uiuc.edu
Wed Apr 20 09:42:43 PDT 2005



Changes in directory llvm/examples/BFtoLLVM:

BFtoLLVM.cpp updated: 1.1 -> 1.2
---
Log message:

Remove trailing whitespace at the end of lines


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

 BFtoLLVM.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/examples/BFtoLLVM/BFtoLLVM.cpp
diff -u llvm/examples/BFtoLLVM/BFtoLLVM.cpp:1.1 llvm/examples/BFtoLLVM/BFtoLLVM.cpp:1.2
--- llvm/examples/BFtoLLVM/BFtoLLVM.cpp:1.1	Tue Oct  5 13:05:26 2004
+++ llvm/examples/BFtoLLVM/BFtoLLVM.cpp	Wed Apr 20 11:42:31 2005
@@ -1,10 +1,10 @@
 //===-- BFtoLLVM.cpp - BF language Front End for LLVM ---------------------===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
 // This file was developed by the LLVM research group and is distributed under
 // the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+//
 //===----------------------------------------------------------------------===//
 //
 // This is a simple front end for the BF language.  It is compatible with the
@@ -60,7 +60,7 @@
   std::string ptr = gensym (op + "ptr"),
 	      val = gensym (op + "val"),
 	      result = gensym (op + "result");
-  dest << ptr << " = load sbyte** %ptrbox\n" 
+  dest << ptr << " = load sbyte** %ptrbox\n"
        << val << " = load sbyte* " << ptr << "\n"
        << result << " = add sbyte " << val << ", " << (int)delta << "\n"
        << "store sbyte " << result << ", sbyte* " << ptr << "\n";
@@ -172,7 +172,7 @@
 
   char *sourceFileName = argv[1];
   char *destFileName = argv[2];
-  
+
   std::ifstream src (sourceFileName);
   if (!src.good()) {
     std::cerr << sourceFileName << ": " << strerror(errno) << "\n";
@@ -184,7 +184,7 @@
     std::cerr << destFileName << ": " << strerror(errno) << "\n";
     return 1;
   }
-  
+
   emitDeclarations(dest);
   emitMainFunctionProlog(dest);
 
@@ -199,7 +199,7 @@
       repeatCount = 0;
     }
   consume (lastCh, repeatCount, dest);
-  
+
   emitMainFunctionEpilog(dest);
 
   src.close();






More information about the llvm-commits mailing list