HomeSort by relevance Sort by last modified time
    Searched defs:noexcept (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/clang/test/CXX/except/except.spec/
p9-noexcept.cpp 5 void target() noexcept
16 void reverse() noexcept(false) function
p2-places.cpp 46 void f() noexcept(false);
48 void (*fp)() noexcept(false);
50 void g(void pfa() noexcept(false));
52 typedef int (*pf)() noexcept(false); // expected-error {{specifications are not allowed in typedefs}} typedef in namespace:noex
54 void (*h())() noexcept(false);
56 void (*i() noexcept(false))(void (*)() noexcept(true)) noexcept(false);
58 void (**k)(void pfa() noexcept(false)); // no-error
60 void (**j)() noexcept(false); // expected-error {{not allowed beyond a single}
    [all...]
p4.cpp 12 void S::a() noexcept {} // expected-error {{does not match previous}}
13 S::~S() noexcept {} // expected-warning {{function previously declared with an implicit exception specification redeclared with an explicit exception specification}}
14 void S::operator delete(void*) noexcept {} // expected-warning {{function previously declared with an implicit exception specification redeclared with an explicit exception specification}}
17 void a() noexcept; // expected-note {{here}} member in struct:T
18 ~T() noexcept; // expected-note {{here}} member in struct:T
19 void operator delete(void*) noexcept; // expected-note {{here}} member in struct:T
22 void T::a() {} // expected-warning {{missing exception specification 'noexcept'}}
35 template<typename T> U<T>::~U() noexcept(true) {} // expected-error {{exception specification in declaration does not match previous declaration}} function
36 template<typename T> void U<T>::operator delete(void*) noexcept(false) {} // expected-error {{exception specification in declaration does not match previous declaration}} function
p5-virtual.cpp 35 virtual void f7() noexcept; member in struct:Base
36 virtual void f8() noexcept; member in struct:Base
37 virtual void f9() noexcept(false);
38 virtual void f10() noexcept(false);
41 virtual void f12() noexcept; member in struct:Base
42 virtual void f13() noexcept(false);
54 virtual void g6() noexcept; // expected-note {{overridden virtual function is here}} member in struct:Base
55 virtual void g7() noexcept; // expected-note {{overridden virtual function is here}} member in struct:Base
57 virtual void g8() noexcept; // expected-note {{overridden virtual function is here}} member in struct:Base
71 virtual void f7() noexcept; member in struct:Derived
76 virtual void f11() noexcept; member in struct:Derived
81 virtual void f15() noexcept; member in struct:Derived
    [all...]
canonical.cpp 9 template <class _Tp> _Tp&& declval() noexcept; member in namespace:std
14 static const bool value = noexcept(_Tp(declval<_Args>()...));
25 noexcept(__is_nothrow_constructible<allocator_type>::value);
33 noexcept(__is_nothrow_constructible<_Compare>::value);
48 basic_string<T, _Traits, _Allocator>::basic_string() noexcept(__is_nothrow_constructible<allocator_type>::value) {} function in namespace:std
52 noexcept(__is_nothrow_constructible<_Compare>::value) {} function in namespace:std
p1.cpp 25 // Simple parser tests, noexcept specification.
29 void f1() noexcept { }
30 void f2() noexcept (true) { } function in namespace:noex
31 void f3() noexcept (false) { } function in namespace:noex
32 void f4() noexcept (1 < 2) { }
35 void foo() noexcept { }
36 void bar() noexcept (true) { } function in class:noex::CA1
39 void (*fptr1)() noexcept; member in namespace:noex
40 void (*fptr2)() noexcept (true);
46 void f() throw(int) noexcept { } // expected-error {{cannot have both}
68 void g(T x) noexcept((sizeof(T) == sizeof(int)) || noexcept(f(x))) { } function in namespace:noexcept_unevaluated
    [all...]
  /external/clang/test/PCH/
cxx11-exception-spec.cpp 9 template<bool b> int f() noexcept(b) {} function
15 static_assert(!noexcept(f<false>()), "");
16 static_assert(noexcept(f<true>()), "");
  /external/clang/test/CodeGenCXX/
throw-expression-cleanup.cpp 8 Error(const X&) noexcept; member in struct:Error
cxx0x-delegating-ctors.cpp 5 ~non_trivial() noexcept(false);
8 non_trivial::~non_trivial() noexcept(false) {} function
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
move.h 77 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
88 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
102 move(_Tp&& __t) noexcept
122 move_if_noexcept(_Tp& __x) noexcept
136 addressof(_Tp& __r) noexcept
169 noexcept(__and_<is_nothrow_move_constructible<_Tp>, function
188 noexcept(noexcept(swap(*__a, *__b))) function
functional_hash.h 62 size_t operator()(const _Tp&) const noexcept; member in struct:hash
70 operator()(_Tp* __p) const noexcept
80 operator()(_Tp __val) const noexcept \
172 operator()(float __val) const noexcept
184 operator()(double __val) const noexcept
197 operator()(long double __val) const noexcept; member in struct:hash
nested_exception.h 60 nested_exception() noexcept : _M_ptr(current_exception()) { }
66 virtual ~nested_exception() noexcept; member in class:std::nested_exception
shared_ptr.h 76 get_deleter(const __shared_ptr<_Tp, _Lp>& __p) noexcept
100 constexpr shared_ptr() noexcept
103 shared_ptr(const shared_ptr&) noexcept = default; member in class:shared_ptr
206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) noexcept
218 shared_ptr(const shared_ptr<_Tp1>& __r) noexcept
226 shared_ptr(shared_ptr&& __r) noexcept
236 shared_ptr(shared_ptr<_Tp1>&& __r) noexcept
266 constexpr shared_ptr(nullptr_t __p) noexcept
269 shared_ptr& operator=(const shared_ptr&) noexcept = default; member in class:shared_ptr
273 operator=(const shared_ptr<_Tp1>& __r) noexcept
    [all...]
stl_pair.h 159 noexcept(__and_<is_nothrow_move_assignable<_T1>, function in struct:pair
187 noexcept(noexcept(swap(first, __p.first))
188 && noexcept(swap(second, __p.second)))
247 noexcept(noexcept(__x.swap(__y))) function
stl_stack.h 220 noexcept(noexcept(swap(c, __s.c))) function in class:stack
291 noexcept(noexcept(__x.swap(__y))) function
  /external/clang/test/CXX/special/class.dtor/
p3.cpp 7 A::~A() noexcept {} // expected-warning {{previously declared with an implicit exception specification}}
9 struct B { ~B() noexcept; }; // expected-note {{here}} member in struct:DR1492::B
16 template<typename T> C<T>::~C() noexcept {} // expected-error {{does not match previous}}
  /external/clang/test/SemaCXX/
dependent-noexcept-unevaluated.cpp 5 declval() noexcept;
14 void swap(T& x, T& y) noexcept(some_trait<T>::value) function
26 void swap(array& a) noexcept(noexcept(swap(declval<T&>(), declval<T&>())));
cxx0x-cursory-default-delete.cpp 64 ~except_spec_d_bad() noexcept; member in struct:except_spec_d_bad
68 except_spec_d_bad::~except_spec_d_bad() noexcept = default;
  /external/clang/test/Analysis/
new-with-exceptions.cpp 19 struct NoExcept {
20 void *operator new(size_t) noexcept; member in struct:NoExcept
33 clang_analyzer_eval(new NoExcept); // expected-warning{{UNKNOWN}}
48 clang_analyzer_eval(new NoExcept[2]);
64 extern void *operator new[](size_t, int) noexcept;
68 clang_analyzer_eval(new (1) NoExcept[2]); // expected-warning{{UNKNOWN}}
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p8.cpp 11 /*static*/ constexpr void *operator new(size_t) noexcept; member in struct:S
33 constexpr void *S::operator new(size_t) noexcept { return 0; }
  /external/clang/test/CXX/special/class.copy/
p15-0x.cpp 27 template<typename T> T &&declval() noexcept; member in namespace:PR11418
31 NonPOD(const NonPOD &) noexcept; member in struct:PR11418::NonPOD
32 NonPOD(NonPOD &&) noexcept; member in struct:PR11418::NonPOD
39 static_assert(noexcept(declval<X>()), "noexcept isn't working at all");
40 static_assert(noexcept(X(declval<X&>())), "copy constructor can't throw");
41 static_assert(noexcept(X(declval<X>())), "move constructor can't throw");
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
functional_hash.h 62 size_t operator()(const _Tp&) const noexcept; member in struct:hash
70 operator()(_Tp* __p) const noexcept
80 operator()(_Tp __val) const noexcept \
172 operator()(float __val) const noexcept
184 operator()(double __val) const noexcept
197 operator()(long double __val) const noexcept; member in struct:hash
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
functional_hash.h 62 size_t operator()(const _Tp&) const noexcept; member in struct:hash
70 operator()(_Tp* __p) const noexcept
80 operator()(_Tp __val) const noexcept \
172 operator()(float __val) const noexcept
184 operator()(double __val) const noexcept
197 operator()(long double __val) const noexcept; member in struct:hash
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
functional_hash.h 62 size_t operator()(const _Tp&) const noexcept; member in struct:hash
70 operator()(_Tp* __p) const noexcept
80 operator()(_Tp __val) const noexcept \
172 operator()(float __val) const noexcept
184 operator()(double __val) const noexcept
197 operator()(long double __val) const noexcept; member in struct:hash
  /external/clang/test/Lexer/
cxx0x_keyword_as_cxx98.cpp 33 int noexcept; // expected-warning {{'noexcept' is a keyword in C++11}} variable

Completed in 396 milliseconds

1 2 3