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)
commitce2d749ed303a5523b9d948b2a7714f6a9732de5
tree18c1b7e070b427c48900230dd818b20218668d55
parent777308b5482784a261b557d2961da89a179bd932
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).

llvm-svn: 316335
clang/include/clang/Driver/Options.td
clang/test/Driver/cl-options.c