]> granicus.if.org Git - clang/commit
clang-cl: Expose --version.
authorNico Weber <nicolasweber@gmx.de>
Mon, 23 Oct 2017 15:54:44 +0000 (15:54 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 23 Oct 2017 15:54:44 +0000 (15:54 +0000)
commitc5924addeeea29249ddbf048d3860c9e2198d289
tree42c17052f5cc552d0ce9db9506a44f11b10cb8ac
parent4e7c0628623316fe522d2b2688d8c7d4a8047105
clang-cl: Expose --version.

This is for consistency with lld-link, see https://reviews.llvm.org/D38972
Also give --version a help text so it shows up in --help / /? output (for
both clang-cl and regular clang).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316335 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Driver/cl-options.c