From ca18fe1d1a89b4027646dbff8c4fb49084e9d871 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 23 Dec 2014 22:55:34 +0000 Subject: 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 --- clang/test/Driver/cl-options.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'clang/test/Driver/cl-options.c') 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 \ -- cgit v1.2.3