Add PrintVersionMessage() that tools can use to print version number

without exiting program.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2007-02-01 01:43:37 +00:00
parent 527fae12c3
commit aed293dfba
2 changed files with 12 additions and 3 deletions
+1
View File
@@ -1281,6 +1281,7 @@ struct extrahelp {
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!