commit | 515b5b379f3508f36f647bfdafce409e28a3d90b | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Mon Jun 05 16:22:56 2006 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Mon Jun 05 16:22:56 2006 +0000 |
tree | eb8a8e442294845b00b76aaf162a969d9d7474ae | |
parent | cdb08a3691b0949ea9fea690571631e1a842bf3a [diff] |
Make it possible to override the standard version printer. Not all tools built with CommandLine.h will want the --version option to report that the tool belongs to LLVM. To override simply pass a void func() to the cl::SetVersionPrinter() function and that void func() will be called when it is time to print the version information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28687 91177308-0d34-0410-b5e6-96231b3b80d8