summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-options.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-02-20 10:47:14 +0000
committerHans Wennborg <hans@hanshq.net>2018-02-20 10:47:14 +0000
commitb8f369d6362db8ed6e8c0e179c8705781a1ed767 (patch)
treee0bf0ddf9c1bf8d6a0a72ceb2853c357ee197879 /clang/test/Driver/cl-options.c
parenta9f8b0d1a9fdbd97dcb171107f3634e02f144d81 (diff)
downloadbcm5719-llvm-b8f369d6362db8ed6e8c0e179c8705781a1ed767.tar.gz
bcm5719-llvm-b8f369d6362db8ed6e8c0e179c8705781a1ed767.zip
clang-cl: Make /d1PP an alias for -dD (PR36446)
llvm-svn: 325571
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r--clang/test/Driver/cl-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index abe55b74946..21d826473bf 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -293,6 +293,9 @@
// RUN: %clang_cl /TP /c /GX /GX- -### -- %s 2>&1 | FileCheck -check-prefix=GX_ %s
// GX_-NOT: "-fcxx-exceptions" "-fexceptions"
+// RUN: %clang_cl /d1PP -### -- %s 2>&1 | FileCheck -check-prefix=d1PP %s
+// d1PP: -dD
+
// We forward any unrecognized -W diagnostic options to cc1.
// RUN: %clang_cl -Wunused-pragmas -### -- %s 2>&1 | FileCheck -check-prefix=WJoined %s
// WJoined: "-cc1"
OpenPOWER on IntegriCloud