summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/warning-options.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-01-15 01:21:53 +0000
committerChad Rosier <mcrosier@apple.com>2013-01-15 01:21:53 +0000
commit5f15a351144753c39ceedfde595d45c923772f50 (patch)
treee98c4d96b647fe791dddacd5970be6a7ac81042f /clang/test/Driver/warning-options.cpp
parentf238510c435ce271e2a064dbeec7f7e8dddbbae5 (diff)
downloadbcm5719-llvm-5f15a351144753c39ceedfde595d45c923772f50.tar.gz
bcm5719-llvm-5f15a351144753c39ceedfde595d45c923772f50.zip
[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 llvm-svn: 172497
Diffstat (limited to 'clang/test/Driver/warning-options.cpp')
-rw-r--r--clang/test/Driver/warning-options.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/Driver/warning-options.cpp b/clang/test/Driver/warning-options.cpp
index 6dafa1c36a2..f1a335d2139 100644
--- a/clang/test/Driver/warning-options.cpp
+++ b/clang/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'
OpenPOWER on IntegriCloud