diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-11-14 18:24:08 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-11-14 18:24:08 +0000 |
commit | 05d50a96459b631a3025f21b0c6cd3a52836676c (patch) | |
tree | 53bdb5f20d1a9c69072ff61372d3ea990aef8cd0 /clang/test/Driver/cl-options.c | |
parent | 94812216ef33b71377b6aba125ce5da8d358712f (diff) | |
download | bcm5719-llvm-05d50a96459b631a3025f21b0c6cd3a52836676c.tar.gz bcm5719-llvm-05d50a96459b631a3025f21b0c6cd3a52836676c.zip |
clang-cl: Ignore the new /Zo[-] option (PR21571)
Also fix the ignored options test which didn't fail properly on
unknown options.
llvm-svn: 222013
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r-- | clang/test/Driver/cl-options.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index 4494ca7664d..44242c8c9c2 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -172,6 +172,7 @@ // (/Zs is for syntax-only) // RUN: %clang_cl /Zs \ // RUN: /analyze- \ +// RUN: /d2Zi+ \ // RUN: /errorReport:foo \ // RUN: /FS \ // RUN: /GF \ @@ -190,8 +191,11 @@ // RUN: /Zc:wchar_t \ // RUN: /Zc:inline \ // RUN: /Zc:rvalueCast \ +// RUN: /Zo \ +// RUN: /Zo- \ // RUN: -### -- %s 2>&1 | FileCheck -check-prefix=IGNORED %s // IGNORED-NOT: argument unused during compilation +// IGNORED-NOT: no such file or directory // Ignored options and compile-only options are ignored for link jobs. // RUN: touch %t.obj @@ -210,7 +214,6 @@ // RUN: /AIfoo \ // RUN: /clr:pure \ // RUN: /docname \ -// RUN: /d2Zi+ \ // RUN: /EHsc \ // RUN: /F \ // RUN: /FA \ |