diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-05 16:22:56 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-05 16:22:56 +0000 |
| commit | b3171678ee47494ef3b62978dbe8fc36072b9f69 (patch) | |
| tree | b092c175f1afd5503a29d71c3c84322e82fd95c6 /llvm/lib/Transforms/Hello/Hello.cpp | |
| parent | a31ac4eae9f8c6b75b61b3ab2708421dd7fb8c14 (diff) | |
| download | bcm5719-llvm-b3171678ee47494ef3b62978dbe8fc36072b9f69.tar.gz bcm5719-llvm-b3171678ee47494ef3b62978dbe8fc36072b9f69.zip | |
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.
llvm-svn: 28687
Diffstat (limited to 'llvm/lib/Transforms/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions

