Lines Matching refs:noexcept

10   ~B_ShouldDiag() noexcept(true) {} //no disg, no throw stmt  in ~B_ShouldDiag()
30 ~M_ShouldNotDiag() noexcept(false);
33 M_ShouldNotDiag::~M_ShouldNotDiag() noexcept(false) { in ~M_ShouldNotDiag()
47 ~X_ShouldDiag() noexcept { // expected-note {{destructor has a non-throwing exception}} in ~X_ShouldDiag()
52 …~Y_ShouldDiag() noexcept(true) { // expected-note {{destructor has a non-throwing exception speci… in ~Y_ShouldDiag()
58 ~C_ShouldNotDiag() noexcept(false) {} in ~C_ShouldNotDiag()
87 ~B1_ShouldDiag() noexcept(true) {} in ~B1_ShouldDiag()
100 …~S1_ShouldDiag() noexcept { // expected-note {{destructor has a non-throwing exception specificat… in ~S1_ShouldDiag()
104 void operator delete(void *ptr) noexcept { // expected-note {{deallocator has a non-throwing excep… in operator delete()
115 ~dependent_warn() noexcept(T::i) { in ~dependent_warn()
121 …~dependent_warn_noexcept() noexcept(T::i) { // expected-note {{destructor has a non-throwing exce… in ~dependent_warn_noexcept()
127 …~dependent_warn_both() noexcept(T::i) { // expected-note {{destructor has a non-throwing exceptio… in ~dependent_warn_both()
131 void foo() noexcept { //expected-note {{function declared non-throwing here}} in foo()
135 ~Throws() noexcept(false);
140 …~ShouldDiagnose() noexcept { //expected-note {{destructor has a non-throwing exception specificati… in ~ShouldDiagnose()
151 void bar_ShouldNotDiag() noexcept { in bar_ShouldNotDiag()
157 void f_ShouldNotDiag() noexcept { in f_ShouldNotDiag()
163 void g_ShouldNotDiag() noexcept { in g_ShouldNotDiag()
170 void h_ShouldDiag() noexcept { //expected-note {{function declared non-throwing here}} in h_ShouldDiag()
177 void i_ShouldDiag() noexcept { //expected-note {{function declared non-throwing here}} in i_ShouldDiag()
184 void j_ShouldDiag() noexcept { //expected-note {{function declared non-throwing here}} in j_ShouldDiag()
192 void k_ShouldDiag() noexcept { //expected-note {{function declared non-throwing here}} in k_ShouldDiag()
200 void loo_ShouldDiag(int i) noexcept { //expected-note {{function declared non-throwing here}} in loo_ShouldDiag()
210 void loo1_ShouldNotDiag() noexcept { in loo1_ShouldNotDiag()
215 void loo2_ShouldDiag() noexcept { //expected-note {{function declared non-throwing here}} in loo2_ShouldDiag()
221 void l_ShouldDiag() noexcept { //expected-note {{function declared non-throwing here}} in l_ShouldDiag()
228 void m_ShouldNotDiag() noexcept { in m_ShouldNotDiag()
235 void n_ShouldNotDiag() noexcept { in n_ShouldNotDiag()
244 void o_ShouldNotDiag() noexcept { in o_ShouldNotDiag()
251 void p_ShouldNotDiag() noexcept { in p_ShouldNotDiag()
260 void q_ShouldNotDiag() noexcept { in q_ShouldNotDiag()
268 #define NOEXCEPT noexcept
278 void with_try_block1() noexcept try { //expected-note {{function declared non-throwing here}} in with_try_block1()
286 void goodPlain() noexcept { in goodPlain()
291 void goodReference() noexcept { in goodReference()
296 void goodPointer() noexcept { in goodPointer()
302 void badPlain() noexcept { //expected-note {{function declared non-throwing here}} in badPlain()
307 void badReference() noexcept { //expected-note {{function declared non-throwing here}} in badReference()
312 void badPointer() noexcept { //expected-note {{function declared non-throwing here}} in badPointer()
366 try { throw (void(*)() noexcept)0; } catch (void (*)()) {} in good()
367 try { throw (void(*)() noexcept)0; } catch (void (*const &)()) {} in good()
402 try { throw (void(*)())0; } catch (void (*)() noexcept) {} // expected-warning {{still throw}} in bad10()
413 void f() noexcept { in f()
423 void g() noexcept { // expected-note {{here}} in g()
431 void h() noexcept { // expected-note {{here}} in h()
443 void i() noexcept { in i()
455 void j() noexcept { // expected-note {{here}} in j()