Indent a comment right, add a new one
authorChris Lattner <sabre@nondot.org>
Thu, 19 Sep 2002 16:06:28 +0000 (16:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 19 Sep 2002 16:06:28 +0000 (16:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3819 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index 5dd80266f325a1416aa47995fe6a8e4f85327a89..5aa88afd0e6442c5170c4603a75e71ce31ec8d5f 100644 (file)
@@ -242,8 +242,8 @@ main(int argc, char **argv)
       }
       Out = new std::ofstream(OutputFilename.c_str());
 
-    // Make sure that the Out file gets unlink'd from the disk if we get a
-    // SIGINT
+      // Make sure that the Out file gets unlink'd from the disk if we get a
+      // SIGINT
       RemoveFileOnSignal(OutputFilename);
     }
   else
@@ -286,6 +286,7 @@ main(int argc, char **argv)
   // Run our queue of passes all at once now, efficiently.
   Passes.run(*M.get());
 
+  // Delete the ostream if it's not a stdout stream
   if (Out != &std::cout) delete Out;
 
   return 0;