From 1f345cb05d82c6502ea3ee753e851adc76e30d7a Mon Sep 17 00:00:00 2001 From: David Bolvansky Date: Tue, 1 Oct 2019 18:18:45 +0000 Subject: [PATCH] [NFC] Updated tests after rL373371 Forgot to run check-clang-semacxx. llvm-svn: 373375 --- clang/test/SemaCXX/warn-sign-conversion.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clang/test/SemaCXX/warn-sign-conversion.cpp b/clang/test/SemaCXX/warn-sign-conversion.cpp index 3122a06..dcfb95b 100644 --- a/clang/test/SemaCXX/warn-sign-conversion.cpp +++ b/clang/test/SemaCXX/warn-sign-conversion.cpp @@ -70,15 +70,11 @@ namespace test2 { int d1 = 1 ? i : Foo::D; // expected-warning {{operand of ? changes signedness: 'test2::Foo::Named4' to 'int'}} int d2 = 1 ? Foo::D : i; // expected-warning {{operand of ? changes signedness: 'test2::Foo::Named4' to 'int'}} int d3 = 1 ? B : Foo::D; // expected-warning {{operand of ? changes signedness: 'test2::Foo::Named4' to 'int'}} - // expected-warning@-1 {{enumeration type mismatch in conditional expression ('test2::Named2' and 'test2::Foo::Named4')}} int d4 = 1 ? Foo::D : B; // expected-warning {{operand of ? changes signedness: 'test2::Foo::Named4' to 'int'}} - // expected-warning@-1 {{enumeration type mismatch in conditional expression ('test2::Foo::Named4' and 'test2::Named2')}} int e1 = 1 ? i : E; // expected-warning {{operand of ? changes signedness: 'test2::Named5' to 'int'}} int e2 = 1 ? E : i; // expected-warning {{operand of ? changes signedness: 'test2::Named5' to 'int'}} int e3 = 1 ? E : B; // expected-warning {{operand of ? changes signedness: 'test2::Named5' to 'int'}} - // expected-warning@-1 {{enumeration type mismatch in conditional expression ('test2::Named5' and 'test2::Named2')}} int e4 = 1 ? B : E; // expected-warning {{operand of ? changes signedness: 'test2::Named5' to 'int'}} - // expected-warning@-1 {{enumeration type mismatch in conditional expression ('test2::Named2' and 'test2::Named5')}} } } -- 2.7.4