Lines Matching full:has

5 A_ShouldDiag::~A_ShouldDiag() { // expected-note {{destructor has a implicit non-throwing exception…  in ~A_ShouldDiag()
6 throw 1; // expected-warning {{has a non-throwing exception specification but can still throw}} in ~A_ShouldDiag()
14 …~R_ShouldDiag() { // expected-note {{destructor has a implicit non-throwing exception specificati… in ~R_ShouldDiag()
15 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~R_ShouldDiag()
18 throw 1;// expected-warning {{has a non-throwing exception specification but}} in R_ShouldDiag()
21 throw 1; // expected-warning {{has a non-throwing exception specification but}} in SomeThrow()
24 throw 1; // expected-warning {{has a non-throwing exception specification but}} in SomeDeclspecThrow()
42 N_ShouldDiag::~N_ShouldDiag() { // expected-note {{destructor has a implicit non-throwing exceptio… in ~N_ShouldDiag()
43 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~N_ShouldDiag()
47 ~X_ShouldDiag() noexcept { // expected-note {{destructor has a non-throwing exception}} in ~X_ShouldDiag()
48 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~X_ShouldDiag()
52 …~Y_ShouldDiag() noexcept(true) { // expected-note {{destructor has a non-throwing exception speci… in ~Y_ShouldDiag()
53 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~Y_ShouldDiag()
80 …~A1_ShouldDiag() { // expected-note {{destructor has a implicit non-throwing exception specificat… in ~A1_ShouldDiag()
81 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~A1_ShouldDiag()
93 …~R1_ShouldDiag() { // expected-note {{destructor has a implicit non-throwing exception specificat… in ~R1_ShouldDiag()
94 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~R1_ShouldDiag()
100 …~S1_ShouldDiag() noexcept { // expected-note {{destructor has a non-throwing exception specificat… in ~S1_ShouldDiag()
101 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~S1_ShouldDiag()
104 void operator delete(void *ptr) noexcept { // expected-note {{deallocator has a non-throwing excep… in operator delete()
105 throw 1; // expected-warning {{has a non-throwing exception specification but}} in operator delete()
121 …~dependent_warn_noexcept() noexcept(T::i) { // expected-note {{destructor has a non-throwing exce… in ~dependent_warn_noexcept()
122 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~dependent_warn_noexcept()
127 …~dependent_warn_both() noexcept(T::i) { // expected-note {{destructor has a non-throwing exceptio… in ~dependent_warn_both()
128 throw 1; // expected-warning {{has a non-throwing exception specification but}} in ~dependent_warn_both()
132 throw 1; // expected-warning {{has a non-throwing exception specification but}} in foo()
140 …~ShouldDiagnose() noexcept { //expected-note {{destructor has a non-throwing exception specificati… in ~ShouldDiagnose()
141 throw; // expected-warning {{has a non-throwing exception specification but}} in ~ShouldDiagnose()
172 throw 12; // expected-warning {{has a non-throwing exception specification but}} in h_ShouldDiag()
181 throw; // expected-warning {{has a non-throwing exception specification but}} in i_ShouldDiag()
188 throw "haha"; // expected-warning {{has a non-throwing exception specification but}} in j_ShouldDiag()
196 throw; // expected-warning {{has a non-throwing exception specification but}} in k_ShouldDiag()
205 throw "haha"; //expected-warning {{has a non-throwing exception specification but}} in loo_ShouldDiag()
217 throw 12; // expected-warning {{has a non-throwing exception specification but}} in loo2_ShouldDiag()
223 throw S{}; //expected-warning {{has a non-throwing exception specification but}} in l_ShouldDiag()
270 throw 1; // expected-warning {{has a non-throwing exception specification but}} in with_macro()
279 throw 2; // expected-warning {{has a non-throwing exception specification but}} in with_try_block1()
304 …throw B(); // expected-warning {{'badPlain' has a non-throwing exception specification but can sti… in badPlain()
309 …throw B(); // expected-warning {{'badReference' has a non-throwing exception specification but can… in badReference()
315 …throw &b; // expected-warning {{'badPointer' has a non-throwing exception specification but can st… in badPointer()