diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-01-15 01:21:53 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-01-15 01:21:53 +0000 |
commit | 08e79d2f075d1326ff7a849fd1bc88dadf99d574 (patch) | |
tree | aab08f26b33435b76e46e172168fb26e21a97b51 /test/Driver/warning-options.cpp | |
parent | 714911f092edeb8b329932f457ef0875725d1c07 (diff) |
[driver] Warnings for warning options are handled by the frontend. The driver needs to process the
warning options to setup diagnostic state, but should not be emitting warnings as these would be
rudndant with what the frontend emits.
rdar://13001556
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/warning-options.cpp')
-rw-r--r-- | test/Driver/warning-options.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/Driver/warning-options.cpp b/test/Driver/warning-options.cpp index 6dafa1c36a..f1a335d213 100644 --- a/test/Driver/warning-options.cpp +++ b/test/Driver/warning-options.cpp @@ -3,12 +3,6 @@ // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128 -// RUN: %clang -### -c -Wmonkey -Wno-monkey -Wno-unused-command-line-arguments \ -// RUN: -Wno-unused-command-line-argument %s 2>&1 | FileCheck %s -// CHECK: unknown warning option '-Wmonkey' -// CHECK: unknown warning option '-Wno-monkey' -// CHECK: unknown warning option '-Wno-unused-command-line-arguments'; did you mean '-Wno-unused-command-line-argument'? - // FIXME: Remove this together with -Warc-abi once an Xcode is released that doesn't pass this flag. // RUN: %clang -### -Warc-abi -Wno-arc-abi %s 2>&1 | FileCheck -check-prefix=ARCABI %s // ARCABI-NOT: unknown warning option '-Warc-abi' |