[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h
Devang Patel
dpatel at apple.com
Wed Jan 31 17:43:56 PST 2007
Changes in directory llvm/include/llvm/Support:
CommandLine.h updated: 1.57 -> 1.58
---
Log message:
Add PrintVersionMessage() that tools can use to print version number
without exiting program.
---
Diffs of the changes: (+1 -0)
CommandLine.h | 1 +
1 files changed, 1 insertion(+)
Index: llvm/include/llvm/Support/CommandLine.h
diff -u llvm/include/llvm/Support/CommandLine.h:1.57 llvm/include/llvm/Support/CommandLine.h:1.58
--- llvm/include/llvm/Support/CommandLine.h:1.57 Thu Oct 12 18:50:28 2006
+++ llvm/include/llvm/Support/CommandLine.h Wed Jan 31 19:43:37 2007
@@ -1281,6 +1281,7 @@
extrahelp(const char* help);
};
+void PrintVersionMessage();
// This function just prints the help message, exactly the same way as if the
// --help option had been given on the command line.
// NOTE: THIS FUNCTION TERMINATES THE PROGRAM!
More information about the llvm-commits
mailing list