HomeSort by relevance Sort by last modified time
    Searched refs:decltype (Results 151 - 175 of 402) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/clang/test/CXX/dcl.decl/dcl.meaning/
p1-0x.cpp 3 // The nested-name-specifier of a qualified declarator-id shall not begin with a decltype-specifier.
9 int decltype(foo())::i; // expected-error{{'decltype' cannot be used to name a declaration}}
10 void decltype(foo())::func() { // expected-error{{'decltype' cannot be used to name a declaration}}
21 int decltype(tfoo<T>())::i; // expected-error{{nested name specifier 'decltype(tfoo<T>())::' for declaration does not refer into a class, class template or class template partial specialization}}
23 void decltype(tfoo<T>())::func() { // expected-error{{nested name specifier 'decltype(tfoo<T>())::' for declaration does not refer into a class, class template or class template partial specialization}}
  /external/clang/test/CXX/over/over.oper/over.literal/
p5.cpp 3 using size_t = decltype(sizeof(int));
p3.cpp 3 using size_t = decltype(sizeof(int));
  /external/clang/test/Modules/Inputs/
cxx-irgen-top.h 10 extern decltype(min(1, 2)) instantiate_min_decl;
  /external/clang/test/PCH/
cxx-alias-decl.cpp 11 using T1 = decltype(a);
  /external/clang/test/SemaCXX/
new-delete-0x.cpp 3 using size_t = decltype(sizeof(0));
cxx1y-init-captures.cpp 8 f([&a(t)]()->decltype(auto) {
12 auto L = [x = f([&a(t)]()->decltype(auto) { return a; }()...)]() { return x; };
18 o = f([&a(t)](T& ... t)->decltype(auto) { return a; }(t...)...), t...](T& ... s) {
19 fv([&a(t)]()->decltype(auto) {
25 o = f([&a(t)](T& ... t)->decltype(auto) { return a; }(t...)...)](T& ... s) {
26 fv([&a(t)]()->decltype(auto) { //expected-error 3{{captured}}
implicit-member-functions.cpp 57 typedef decltype(T(get())) type; // expected-error {{no matching conver}}
91 typename = decltype(T(declval<const V&>())),
92 typename = decltype(U(declval<const W&>()))>
member-init.cpp 30 int as[] = { decltype(x)::B<C, D>(0) }; // expected-error {{array bound cannot be deduced from an in-class initializer}}
108 typename U = decltype(T::m)>
  /external/libcxx/test/numerics/complex.number/cmplx.over/
conj.pass.cpp 28 static_assert((std::is_same<decltype(std::conj(x)), std::complex<double> >::value), "");
36 static_assert((std::is_same<decltype(std::conj(x)), std::complex<T> >::value), "");
45 static_assert((std::is_same<decltype(std::conj(x)), std::complex<T> >::value), "");
proj.pass.cpp 28 static_assert((std::is_same<decltype(std::proj(x)), std::complex<double> >::value), "");
36 static_assert((std::is_same<decltype(std::proj(x)), std::complex<T> >::value), "");
45 static_assert((std::is_same<decltype(std::proj(x)), std::complex<T> >::value), "");
imag.pass.cpp 26 static_assert((std::is_same<decltype(std::imag(T(x))), double>::value), "");
40 static_assert((std::is_same<decltype(std::imag(T(x))), T>::value), "");
real.pass.cpp 26 static_assert((std::is_same<decltype(std::real(T(x))), double>::value), "");
40 static_assert((std::is_same<decltype(std::real(T(x))), T>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/
conj.pass.cpp 28 static_assert((std::is_same<decltype(std::conj(x)), std::complex<double> >::value), "");
36 static_assert((std::is_same<decltype(std::conj(x)), std::complex<T> >::value), "");
45 static_assert((std::is_same<decltype(std::conj(x)), std::complex<T> >::value), "");
proj.pass.cpp 28 static_assert((std::is_same<decltype(std::proj(x)), std::complex<double> >::value), "");
36 static_assert((std::is_same<decltype(std::proj(x)), std::complex<T> >::value), "");
45 static_assert((std::is_same<decltype(std::proj(x)), std::complex<T> >::value), "");
imag.pass.cpp 26 static_assert((std::is_same<decltype(std::imag(T(x))), double>::value), "");
40 static_assert((std::is_same<decltype(std::imag(T(x))), T>::value), "");
  /external/libcxx/test/strings/basic.string.literals/
literal.pass.cpp 18 static_assert ( std::is_same<decltype( "Hi"s), std::string>::value, "" );
19 static_assert ( std::is_same<decltype( u8"Hi"s), std::string>::value, "" );
20 static_assert ( std::is_same<decltype( L"Hi"s), std::wstring>::value, "" );
21 static_assert ( std::is_same<decltype( u"Hi"s), std::u16string>::value, "" );
22 static_assert ( std::is_same<decltype( U"Hi"s), std::u32string>::value, "" );
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string.literals/
literal.pass.cpp 18 static_assert ( std::is_same<decltype( "Hi"s), std::string>::value, "" );
19 static_assert ( std::is_same<decltype( u8"Hi"s), std::string>::value, "" );
20 static_assert ( std::is_same<decltype( L"Hi"s), std::wstring>::value, "" );
21 static_assert ( std::is_same<decltype( u"Hi"s), std::u16string>::value, "" );
22 static_assert ( std::is_same<decltype( U"Hi"s), std::u32string>::value, "" );
  /external/clang/test/CodeGenCXX/
mangle.cpp 386 template <class T> decltype(((T*) 0)->member) read_member(T& obj) {
406 template <class T> decltype(((T*) 0)->Path1::ab) get_ab_1(T &ref) { return ref.Path1::ab; }
409 template <class T> decltype(((T*) 0)->Path2::ab) get_ab_2(T &ref) { return ref.Path2::ab; }
412 template <class T> decltype(((T*) 0)->Path1::p) get_p_1(T &ref) { return ref.Path1::p; }
415 template <class T> decltype(((T*) 0)->Path2::p) get_p_2(T &ref) { return ref.Path2::p; }
617 template <class T> void test0(decltype(f<T*>(0))) {} function in namespace:test20
618 template void test0<int>(decltype(f<int*>(0)));
621 template <class T> void test1(decltype(f<>(T()))) {} function in namespace:test20
622 template void test1<int>(decltype(f<>(int())));
633 void f(decltype(nullptr)) { function in namespace:test22
751 template<class T> auto f1(T p)->decltype(x) { return 0; } function in namespace:test31
754 template<class T> auto f2(T p)->decltype(p) { return 0; } function in namespace:test31
803 void f(decltype(sizeof(decltype(T() + T())))) {} function in namespace:test34
840 void f1(decltype(sizeof(&T::template operator+<int>))) {} function in namespace:test35
    [all...]
cxx1y-sized-deallocation.cpp 8 typedef decltype(sizeof(0)) size_t;
  /external/chromium_org/third_party/WebKit/Source/wtf/
NullPtr.h 39 typedef decltype(nullptr) nullptr_t;
  /external/clang/test/CXX/lex/lex.literal/lex.ext/
p8.cpp 3 using size_t = decltype(sizeof(int));
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
alloc_traits.h 55 using __type = decltype(_S_chk<_Alloc, _Tp>(nullptr));
92 typedef decltype(_S_##_NTYPE##_helper((_Alloc*)0)) __##_NTYPE; \
206 typename = decltype(std::declval<_Alloc3*>()->allocate(
214 using type = decltype(__test<_Alloc>(0));
236 typename = decltype(std::declval<_Alloc2*>()->construct(
243 using type = decltype(__test<_Alloc>(0));
266 typename = decltype(std::declval<_Alloc2*>()->destroy(
273 using type = decltype(__test<_Alloc>(0));
293 typename = decltype(std::declval<_Alloc3*>()->max_size())>
299 using type = decltype(__test<_Alloc2>(0))
    [all...]
  /external/clang/test/Parser/
cxx-member-initializers.cpp 77 Errs(X<0>) : decltype X<0>() {} // expected-error {{expected '(' after 'decltype'}}
79 Errs(X<2>) : decltype(X<0> // expected-note {{to match this '('}}
  /external/libcxx/src/
condition_variable.cpp 58 typedef decltype(ts.tv_sec) ts_sec;
63 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((d - s).count());

Completed in 2591 milliseconds

1 2 3 4 5 67 8 91011>>