bugpoint: clang-format all of bugpoint. NFC

I'm going to clean up the APIs here a bit and touch many many lines
anyway.

llvm-svn: 280450
diff --git a/llvm/tools/bugpoint/FindBugs.cpp b/llvm/tools/bugpoint/FindBugs.cpp
index a0c859b..3c345c5 100644
--- a/llvm/tools/bugpoint/FindBugs.cpp
+++ b/llvm/tools/bugpoint/FindBugs.cpp
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file defines an interface that allows bugpoint to choose different 
-// combinations of optimizations to run on the selected input. Bugpoint will 
+// This file defines an interface that allows bugpoint to choose different
+// combinations of optimizations to run on the selected input. Bugpoint will
 // run these optimizations and record the success/failure of each. This way
 // we can hopefully spot bugs in the optimizations.
 //
@@ -23,47 +23,48 @@
 #include <ctime>
 using namespace llvm;
 
-/// runManyPasses - Take the specified pass list and create different 
+/// runManyPasses - Take the specified pass list and create different
 /// combinations of passes to compile the program with. Compile the program with
-/// each set and mark test to see if it compiled correctly. If the passes 
+/// each set and mark test to see if it compiled correctly. If the passes
 /// compiled correctly output nothing and rearrange the passes into a new order.
-/// If the passes did not compile correctly, output the command required to 
+/// If the passes did not compile correctly, output the command required to
 /// recreate the failure. This returns true if a compiler error is found.
 ///
 bool BugDriver::runManyPasses(const std::vector<std::string> &AllPasses,
                               std::string &ErrMsg) {
   setPassesToRun(AllPasses);
   outs() << "Starting bug finding procedure...\n\n";
-  
+
   // Creating a reference output if necessary
-  if (initializeExecutionEnvironment()) return false;
-  
+  if (initializeExecutionEnvironment())
+    return false;
+
   outs() << "\n";
   if (ReferenceOutputFile.empty()) {
     outs() << "Generating reference output from raw program: \n";
     if (!createReferenceFile(Program))
       return false;
   }
-  
+
   srand(time(nullptr));
-  
+
   unsigned num = 1;
-  while(1) {  
+  while (1) {
     //
     // Step 1: Randomize the order of the optimizer passes.
     //
     std::random_shuffle(PassesToRun.begin(), PassesToRun.end());
-    
+
     //
     // Step 2: Run optimizer passes on the program and check for success.
     //
     outs() << "Running selected passes on program to test for crash: ";
-    for(int i = 0, e = PassesToRun.size(); i != e; i++) {
+    for (int i = 0, e = PassesToRun.size(); i != e; i++) {
       outs() << "-" << PassesToRun[i] << " ";
     }
-    
+
     std::string Filename;
-    if(runPasses(Program, PassesToRun, Filename, false)) {
+    if (runPasses(Program, PassesToRun, Filename, false)) {
       outs() << "\n";
       outs() << "Optimizer passes caused failure!\n\n";
       debugOptimizerCrash();
@@ -71,7 +72,7 @@
     } else {
       outs() << "Combination " << num << " optimized successfully!\n";
     }
-    
+
     //
     // Step 3: Compile the optimized code.
     //
@@ -84,9 +85,9 @@
       return debugCodeGeneratorCrash(ErrMsg);
     }
     outs() << '\n';
-    
+
     //
-    // Step 4: Run the program and compare its output to the reference 
+    // Step 4: Run the program and compare its output to the reference
     // output (created above).
     //
     outs() << "*** Checking if passes caused miscompliation:\n";
@@ -103,12 +104,12 @@
       return true;
     }
     outs() << "\n*** diff'd output matches!\n";
-    
+
     sys::fs::remove(Filename);
-    
+
     outs() << "\n\n";
     num++;
-  } //end while
-  
+  } // end while
+
   // Unreachable.
 }