aboutsummaryrefslogtreecommitdiff
path: root/test/Frontend/warning-mapping-2.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-09-29 01:58:05 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-09-29 01:58:05 +0000
commitbe1aa410274b28fc143c47c814f07c989f4534d6 (patch)
treed4072fb4fe99287726865253e3f65492fd8d2ed1 /test/Frontend/warning-mapping-2.c
parenta5e41333b06fdf036d58495490eb14d6a0a3fcf7 (diff)
Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings.
- This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend/warning-mapping-2.c')
-rw-r--r--test/Frontend/warning-mapping-2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/Frontend/warning-mapping-2.c b/test/Frontend/warning-mapping-2.c
index 5a347ebb09..39ba4997a4 100644
--- a/test/Frontend/warning-mapping-2.c
+++ b/test/Frontend/warning-mapping-2.c
@@ -1,8 +1,5 @@
// Check that -w has lower priority than -pedantic-errors.
// RUN: %clang_cc1 -verify -pedantic-errors -w %s
-//
-// FIXME: We currently get this wrong.
-// XFAIL: *
void f0() { f1(); } // expected-error {{implicit declaration of function}}