diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-12-23 22:55:34 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-12-23 22:55:34 +0000 |
commit | ca18fe1d1a89b4027646dbff8c4fb49084e9d871 (patch) | |
tree | aaf7fa753dd5db64c634b2cfcc5e38820df8a80f /clang/test/Driver/cl-options.c | |
parent | 007215044b48de0ebf32a44c77326c9634b35bdc (diff) | |
download | bcm5719-llvm-ca18fe1d1a89b4027646dbff8c4fb49084e9d871.tar.gz bcm5719-llvm-ca18fe1d1a89b4027646dbff8c4fb49084e9d871.zip |
clang-cl: Various changes to /Zc: handling.
* /Zc:trigraphs and /Zc:trigraphs- are now honored
* /Zc:strictStrings is now honored
* /Zc:auto is now honored/ignored (clang does the Right Thing for this already)
Also add a dedicated test for the various /Zc: flags.
clang-cl doesn't always agree with cl.exe on the default values for /Zc flags.
For example, I think clang always behaves as if /Zc:inline is passed, and
warns if the user explicitly passes /Zc:inline-
Fixes PR21974.
llvm-svn: 224791
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r-- | clang/test/Driver/cl-options.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index fa3273e0b40..d9fcaf46692 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -191,10 +191,6 @@ // RUN: /volatile:iso \ // RUN: /w12345 \ // RUN: /wd1234 \ -// RUN: /Zc:forScope \ -// RUN: /Zc:wchar_t \ -// RUN: /Zc:inline \ -// RUN: /Zc:rvalueCast \ // RUN: /Zo \ // RUN: /Zo- \ // RUN: -### -- %s 2>&1 | FileCheck -check-prefix=IGNORED %s @@ -285,8 +281,6 @@ // RUN: /Yustdafx.h \ // RUN: /Z7 \ // RUN: /Za \ -// RUN: /Zc:auto \ -// RUN: /Zc:wchar_t- \ // RUN: /Ze \ // RUN: /Zg \ // RUN: /Zi \ |