aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-dis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-29 17:29:05 +0000
committerChris Lattner <sabre@nondot.org>2005-01-29 17:29:05 +0000
commit5ea56e5924b0d4173cd61ef68d7964b2c95ee0f3 (patch)
treee1c2cf067e8e02d2821cef0a0c5cc11b26023aeb /tools/llvm-dis
parent4b724b1cb954dec4436ecc0022fb17b49ff8ca79 (diff)
clean up comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-dis')
-rw-r--r--tools/llvm-dis/llvm-dis.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp
index 0ae95c8bab..0f189910f3 100644
--- a/tools/llvm-dis/llvm-dis.cpp
+++ b/tools/llvm-dis/llvm-dis.cpp
@@ -42,7 +42,7 @@ int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
sys::PrintStackTraceOnErrorSignal();
- std::ostream *Out = &std::cout; // Default to printing to stdout...
+ std::ostream *Out = &std::cout; // Default to printing to stdout.
std::string ErrorMessage;
std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename, &ErrorMessage));
@@ -98,8 +98,7 @@ int main(int argc, char **argv) {
Out = &std::cout;
}
- // All that dis does is write the assembly or C out to a file...
- //
+ // All that llvm-dis does is write the assembly to a file.
PassManager Passes;
Passes.add(new PrintModulePass(Out));
Passes.run(*M.get());