[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Misha Brukman brukman at cs.uiuc.edu
Mon Jul 12 15:58:17 PDT 2004



Changes in directory llvm/tools/llc:

llc.cpp updated: 1.99 -> 1.100

---
Log message:

* Tabs to spaces
* Delete extra blank lines


---
Diffs of the changes:  (+5 -7)

Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.99 llvm/tools/llc/llc.cpp:1.100
--- llvm/tools/llc/llc.cpp:1.99	Sat Jul 10 23:03:24 2004
+++ llvm/tools/llc/llc.cpp	Mon Jul 12 17:58:07 2004
@@ -41,7 +41,6 @@
 
 static cl::opt<bool> Force("f", cl::desc("Overwrite output files"));
 
-
 static cl::opt<const TargetMachineRegistry::Entry*, false, TargetNameParser>
 MArch("march", cl::desc("Architecture to generate assembly for:"));
                
@@ -97,7 +96,6 @@
 
   // Build up all of the passes that we want to do to the module...
   PassManager Passes;
-
   Passes.add(new TargetData("llc", TD.isLittleEndian(), TD.getPointerSize(),
                             TD.getPointerAlignment(), TD.getDoubleAlignment()));
 
@@ -107,11 +105,11 @@
     if (OutputFilename != "-") {
       // Specified an output filename?
       if (!Force && std::ifstream(OutputFilename.c_str())) {
-	// If force is not specified, make sure not to overwrite a file!
-	std::cerr << argv[0] << ": error opening '" << OutputFilename
-		  << "': file exists!\n"
-		  << "Use -f command line argument to force output\n";
-	return 1;
+        // If force is not specified, make sure not to overwrite a file!
+        std::cerr << argv[0] << ": error opening '" << OutputFilename
+                  << "': file exists!\n"
+                  << "Use -f command line argument to force output\n";
+        return 1;
       }
       Out = new std::ofstream(OutputFilename.c_str());
 





More information about the llvm-commits mailing list