diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-19 16:06:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-19 16:06:28 +0000 |
commit | 0f82df410caf8242406fa7e8bbd555e4854ffe48 (patch) | |
tree | 566f96964e0bb76bc47647d98dff60c3c92fbe94 | |
parent | 39c36e868d2dd0071f209a71374d08c3b440af09 (diff) |
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
-rw-r--r-- | tools/llc/llc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 5dd80266f3..5aa88afd0e 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -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; |