/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
|
/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
|
/external/clang/test/SemaCXX/ |
cxx11-inheriting-ctors.cpp | 13 noexcept(noexcept(T(X(), static_cast<A &&>(a)))) function in struct:PR15757::T
|
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&>())));
|
/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
|
/prebuilts/ndk/9/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
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ |
move.h | 76 forward(typename std::remove_reference<_Tp>::type& __t) noexcept 87 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 101 move(_Tp&& __t) noexcept 121 move_if_noexcept(_Tp& __x) noexcept 135 addressof(_Tp& __r) noexcept 168 noexcept(__and_<is_nothrow_move_constructible<_Tp>, function 187 noexcept(noexcept(swap(*__a, *__b))) 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/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/ |
c++98.cc | 16 noexcept, enumerator in enum:cxx11_keywords
|
/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");
|
/ndk/sources/cxx-stl/gabi++/tests/ |
test_vector3.cpp | 31 noexcept(false) function in struct:test1::A
|
/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
|
/prebuilts/ndk/9/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
|