llvm-project/clang/tools
Dimitry Andric 81c40421fe Print registered targets in clang's version information
Summary:
Other llvm tools display their registered targets when showing version
information, but for some reason clang has never done this.

To support this, D33899 adds the llvm parts, which make it possible to
print version information to arbitrary raw_ostreams.  This change adds
a call to printRegisteredTargetsForVersion in clang's PrintVersion, and
adds a raw_ostream parameter to two other PrintVersion functions.

Reviewers: beanz, chandlerc, dberris, mehdi_amini, zturner

Reviewed By: mehdi_amini

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D33900

llvm-svn: 304836
2017-06-06 21:54:21 +00:00
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [libclang] Allow to suspend a translation unit. 2017-05-30 14:25:54 +00:00
clang-check Add -cc1 flag -ast-dump-all to perform an AST dump including entities that haven't yet been deserialized. 2017-03-09 22:00:01 +00:00
clang-format Print registered targets in clang's version information 2017-06-06 21:54:21 +00:00
clang-format-vs clang-format-vs licence.txt: drop svn:executable 2017-04-13 20:09:18 +00:00
clang-fuzzer Unbreak the clang-fuzzer build after r291184. 2017-01-11 16:42:26 +00:00
clang-import-test [ASTImporter] Improve handling of incomplete types 2017-05-13 00:46:33 +00:00
clang-offload-bundler Print registered targets in clang's version information 2017-06-06 21:54:21 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
driver Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
libclang [libclang] Allow to suspend a translation unit. 2017-05-30 14:25:54 +00:00
scan-build [scan-build] Patch to scan-build tool to support "--target=<value>" flag 2017-05-26 19:25:32 +00:00
scan-build-py [scan-build-py] merge runner module to analyzer 2017-04-07 11:04:49 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00