Indent a comment right, add a new one

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-09-19 16:06:28 +00:00
parent 39c36e868d
commit 0f82df410c

View File

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