summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit9eb2caaeb63786ca6099cdd4edeb8075bd1a7fda (patch)
treebcba48825eff01802f7975f33fb846ae1e82a54b /llvm/include/llvm/Support/CommandLine.h
parente3eeb24a86df6a70e3b5d277fa6ababdc3d8be6e (diff)
downloadbcm5719-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.h1
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!
OpenPOWER on IntegriCloud