Lines Matching full:noexcept
11 // Noexcept::Noexcept() is implicitly declared as noexcept(false), because it
14 // If noexcept(Noexcept()) is false, then Noexcept() is a constant expression,
15 // so noexcept(Noexcept()) is true. But if noexcept(Noexcept()) is true, then
16 // Noexcept::Noexcept is not declared constexpr, therefore noexcept(Noexcept())
18 bool ThrowSomething() noexcept(false);
20 …bool b = noexcept(ConstExpr()) && ThrowSomething(); // expected-error {{cannot use defaulted defau…
25 // knowing whether it produces a noexcept expression.
27 …int n = ExceptionIf<noexcept(TemplateArg())>::f(); // expected-error {{cannot use defaulted defaul…
35 …int n = ExceptionIf<noexcept(Nested())>::f(); // expected-note {{implicit default constructor for …
44 int n = ExceptionIf<noexcept(Nested2())>::f();
55 T() noexcept(!noexcept(Nested()));
63 …T(int = ExceptionIf<noexcept(Default())::f()); // expected-error {{call to implicitly-deleted defa…