aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-02-01 01:43:37 +0000
committerDevang Patel <dpatel@apple.com>2007-02-01 01:43:37 +0000
commitaed293dfba04b07a867491c11dfff4bf3eb6bddd (patch)
tree79de9c9209e382cfd3cf85cbff5da11495b3eada /include/llvm/Support/CommandLine.h
parent527fae12c3b58d6151aa1c534c10b55d603b8da1 (diff)
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
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r--include/llvm/Support/CommandLine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 662c935c44..f9cf3be994 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/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!