Lines Matching refs:noexcept
18 bool ThrowSomething() noexcept(false);
21 … noexcept(ConstExpr()) && ThrowSomething(); // expected-note {{in evaluation of exception spec}}
28 … ExceptionIf<noexcept(TemplateArg())>::f(); // expected-note {{in evaluation of exception spec}}
35 ExceptionIf<noexcept(Nested())>::f(); // expected-note {{in evaluation of exception spec}}
43 int n = ExceptionIf<noexcept(Nested2())>::f(); // expected-note {{declared here}}
51 T() noexcept(!noexcept(Nested())); // expected-note {{in evaluation of exception spec}}
61 T(int = ExceptionIf<noexcept(Default())>::f());
97 void *operator new(decltype(sizeof(0)), nothrow_t) noexcept;
101 A() noexcept(NE);
102 A(const A&) noexcept(NE);
103 A(A&&) noexcept(NE);
104 A &operator=(const A&) noexcept(NE);
105 A &operator=(A&&) noexcept(NE);
106 ~A() noexcept(NE);
122 static_assert(noexcept(a = a) == D, ""); in check()
123 static_assert(noexcept(a = static_cast<T&&>(a)) == E, ""); in check()
124 static_assert(noexcept(delete &a) == F, ""); in check()
127 static_assert(noexcept(new (nothrow) T()) == A, ""); // expected-error 2{{abstract}} in check()
128 static_assert(noexcept(new (nothrow) T(a)) == B, ""); in check()
129 static_assert(noexcept(new (nothrow) T(static_cast<T&&>(a))) == C, ""); in check()
145 Cfalse() noexcept;
146 Cfalse(const Cfalse&) noexcept;
147 Cfalse(Cfalse&&) noexcept;
149 Cfalse::Cfalse() noexcept = default;
150 Cfalse::Cfalse(const Cfalse&) noexcept = default;
151 Cfalse::Cfalse(Cfalse&&) noexcept = default;