diff options
author | Mike Stump <mrs@apple.com> | 2009-10-09 17:31:54 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-09 17:31:54 +0000 |
commit | 5b8cdb524fb06a5c35ba0d9dd9cdd437a50fd2f5 (patch) | |
tree | 9db3ea2f29a69163150cf40285d478a45d8f420e /lib/Driver/Driver.cpp | |
parent | ad3607da8ad626c408d8e6d804bf1359977b200a (diff) |
Allow customization for the version line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index ab948552d9..b4693f2ac9 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -412,6 +412,9 @@ void Driver::PrintHelp(bool ShowHidden) const { void Driver::PrintVersion(const Compilation &C, llvm::raw_ostream &OS) const { // FIXME: The following handlers should use a callback mechanism, we don't // know what the client would like to do. +#ifdef CLANG_VENDOR + OS << CLANG_VENDOR; +#endif OS << "clang version " CLANG_VERSION_STRING " (" << getClangSubversionPath(); if (unsigned Revision = getClangSubversionRevision()) |