diff options
author | Devang Patel <dpatel@apple.com> | 2007-02-01 01:43:37 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-02-01 01:43:37 +0000 |
commit | 9eb2caaeb63786ca6099cdd4edeb8075bd1a7fda (patch) | |
tree | bcba48825eff01802f7975f33fb846ae1e82a54b /llvm/include/llvm/Support/CommandLine.h | |
parent | e3eeb24a86df6a70e3b5d277fa6ababdc3d8be6e (diff) | |
download | bcm5719-llvm-9eb2caaeb63786ca6099cdd4edeb8075bd1a7fda.tar.gz bcm5719-llvm-9eb2caaeb63786ca6099cdd4edeb8075bd1a7fda.zip |
Add PrintVersionMessage() that tools can use to print version number
without exiting program.
llvm-svn: 33737
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 662c935c441..f9cf3be9946 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -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! |