summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-options.c
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-10-23 15:54:44 +0000
committerNico Weber <nicolasweber@gmx.de>2017-10-23 15:54:44 +0000
commitce2d749ed303a5523b9d948b2a7714f6a9732de5 (patch)
tree18c1b7e070b427c48900230dd818b20218668d55 /clang/test/Driver/cl-options.c
parent777308b5482784a261b557d2961da89a179bd932 (diff)
downloadbcm5719-llvm-ce2d749ed303a5523b9d948b2a7714f6a9732de5.tar.gz
bcm5719-llvm-ce2d749ed303a5523b9d948b2a7714f6a9732de5.zip
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
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r--clang/test/Driver/cl-options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index 115b21963b3..2435ba29328 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -574,6 +574,7 @@
// RUN: -fstandalone-debug \
// RUN: -flimit-debug-info \
// RUN: -flto \
+// RUN: --version \
// RUN: -Werror /Zs -- %s 2>&1
OpenPOWER on IntegriCloud