/external/clang/test/SemaCXX/ |
cxx1y-generic-lambdas.cpp | 65 return [](auto a) ->decltype(a) { return a; }; 80 return [](auto a) ->decltype(b)* { return (decltype(b)*)0; }; 94 return [](auto a) ->decltype(b)* { return (decltype(b)*)0; }; //expected-note{{candidate template ignored}} 109 return [](auto d) ->decltype(a + b + c + d) { return d; }; 222 auto l2 = [](auto a) ->decltype(auto) { return a; }(2); 267 return [](auto b) ->decltype(a) { 277 auto L = [](auto a) ->decltype(a) { 279 return [](auto b) ->decltype(a) { //expected-error{{no viable conversion}} [all...] |
windows-arm-valist.cpp | 15 static_assert(is_same<decltype(va), decltype(cp)>::value,
|
constexpr-strlen.cpp | 5 typedef decltype(sizeof(int)) size_t;
|
microsoft-cxx0x.cpp | 16 template<typename F> auto x(F f) -> decltype(f(make()));
|
/external/libcxx/test/numerics/cfenv/cfenv.syn/ |
cfenv.pass.cpp | 63 static_assert((std::is_same<decltype(std::feclearexcept(0)), int>::value), ""); 64 static_assert((std::is_same<decltype(std::fegetexceptflag(&fex, 0)), int>::value), ""); 65 static_assert((std::is_same<decltype(std::feraiseexcept(0)), int>::value), ""); 66 static_assert((std::is_same<decltype(std::fesetexceptflag(&fex, 0)), int>::value), ""); 67 static_assert((std::is_same<decltype(std::fetestexcept(0)), int>::value), ""); 68 static_assert((std::is_same<decltype(std::fegetround()), int>::value), ""); 69 static_assert((std::is_same<decltype(std::fesetround(0)), int>::value), ""); 70 static_assert((std::is_same<decltype(std::fegetenv(&fenv)), int>::value), ""); 71 static_assert((std::is_same<decltype(std::feholdexcept(&fenv)), int>::value), ""); 72 static_assert((std::is_same<decltype(std::fesetenv(&fenv)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/cfenv/cfenv.syn/ |
cfenv.pass.cpp | 63 static_assert((std::is_same<decltype(std::feclearexcept(0)), int>::value), ""); 64 static_assert((std::is_same<decltype(std::fegetexceptflag(&fex, 0)), int>::value), ""); 65 static_assert((std::is_same<decltype(std::feraiseexcept(0)), int>::value), ""); 66 static_assert((std::is_same<decltype(std::fesetexceptflag(&fex, 0)), int>::value), ""); 67 static_assert((std::is_same<decltype(std::fetestexcept(0)), int>::value), ""); 68 static_assert((std::is_same<decltype(std::fegetround()), int>::value), ""); 69 static_assert((std::is_same<decltype(std::fesetround(0)), int>::value), ""); 70 static_assert((std::is_same<decltype(std::fegetenv(&fenv)), int>::value), ""); 71 static_assert((std::is_same<decltype(std::feholdexcept(&fenv)), int>::value), ""); 72 static_assert((std::is_same<decltype(std::fesetenv(&fenv)), int>::value), "") [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
p12-1y.cpp | 9 S<decltype(x)>::type n; // expected-error 2{{}} 15 S<decltype(x)>::type n; // expected-error 2{{}}
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
p4-0x.cpp | 5 decltype(this) q; // expected-error {{invalid use of 'this' outside of a non-static member function}} 10 typedef auto f() -> decltype(this); // expected-error {{invalid use of 'this' outside of a non-static member function}} typedef in struct:S
|
p3-0x.cpp | 8 auto g1() noexcept(noexcept(f(ptr))) -> decltype(f(this->ptr)); 9 auto g2() const noexcept(noexcept(f((*this).ptr))) -> decltype(f(ptr)); 21 template<class T> auto f(T t) -> decltype(t + g()) 25 template auto B::f(int t) -> decltype(t + g()); 33 auto g1() noexcept(noexcept(f(ptr))) -> decltype(f(ptr)); 34 auto g2() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(ptr)); 35 auto g3() noexcept(noexcept(f(this->ptr))) -> decltype(f((*this).ptr)); 36 auto g4() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(this->ptr)); 37 auto g5() noexcept(noexcept(this->f(ptr))) -> decltype(this->f(ptr)); 38 auto g6() const noexcept(noexcept(this->f(((this))->ptr))) -> decltype(this->f(ptr)) 67 auto g() -> decltype(this->f()) { return f(); } function in struct:PR14263::X 68 auto g() const -> decltype(this->f()) { return f(); } function in struct:PR14263::X 120 auto X1::h() -> decltype(m) { return 0; } \/\/ expected-error{{'this' cannot be implicitly used in a static member function declaration}} function in namespace:Static [all...] |
/external/clang/test/CXX/temp/temp.param/ |
p5.cpp | 4 decltype(I) n; 10 decltype(v) n;
|
/external/clang/test/CodeGenCXX/ |
mangle-this-cxx11.cpp | 10 template <class U> auto f() -> decltype (b.f<U>()); 11 template <class U> auto g() -> decltype (this->b.f<U>());
|
/external/clang/test/Lexer/ |
cxx1y_binary_literal.cpp | 6 using I = decltype(0b101001); 8 using ULL = decltype(0b10101001ULL);
|
/external/clang/test/PCH/ |
cxx11-user-defined-literals.cpp | 8 using size_t = decltype(sizeof(int)); 11 template<typename T> auto f(T t) -> decltype(t + ""_foo) { return 0; }
|
cxx1y-decltype-auto.cpp | 10 decltype(auto) b = t.x; 12 decltype(auto) d = (t.x);
|
pr18806.cpp | 17 template <typename Y, typename = decltype(Y())> 23 template <typename B, typename = Id<decltype(B())>>
|
/external/libcxx/test/utilities/utility/declval/ |
declval.pass.cpp | 26 static_assert((std::is_same<decltype(std::declval<A>()), A&&>::value), ""); 28 static_assert((std::is_same<decltype(std::declval<A>()), A>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/declval/ |
declval.pass.cpp | 26 static_assert((std::is_same<decltype(std::declval<A>()), A&&>::value), ""); 28 static_assert((std::is_same<decltype(std::declval<A>()), A>::value), "");
|
/external/libcxx/test/strings/c.strings/ |
cctype.pass.cpp | 74 static_assert((std::is_same<decltype(std::isalnum(0)), int>::value), ""); 75 static_assert((std::is_same<decltype(std::isalpha(0)), int>::value), ""); 76 static_assert((std::is_same<decltype(std::isblank(0)), int>::value), ""); 77 static_assert((std::is_same<decltype(std::iscntrl(0)), int>::value), ""); 78 static_assert((std::is_same<decltype(std::isdigit(0)), int>::value), ""); 79 static_assert((std::is_same<decltype(std::isgraph(0)), int>::value), ""); 80 static_assert((std::is_same<decltype(std::islower(0)), int>::value), ""); 81 static_assert((std::is_same<decltype(std::isprint(0)), int>::value), ""); 82 static_assert((std::is_same<decltype(std::ispunct(0)), int>::value), ""); 83 static_assert((std::is_same<decltype(std::isspace(0)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/ |
cctype.pass.cpp | 74 static_assert((std::is_same<decltype(std::isalnum(0)), int>::value), ""); 75 static_assert((std::is_same<decltype(std::isalpha(0)), int>::value), ""); 76 static_assert((std::is_same<decltype(std::isblank(0)), int>::value), ""); 77 static_assert((std::is_same<decltype(std::iscntrl(0)), int>::value), ""); 78 static_assert((std::is_same<decltype(std::isdigit(0)), int>::value), ""); 79 static_assert((std::is_same<decltype(std::isgraph(0)), int>::value), ""); 80 static_assert((std::is_same<decltype(std::islower(0)), int>::value), ""); 81 static_assert((std::is_same<decltype(std::isprint(0)), int>::value), ""); 82 static_assert((std::is_same<decltype(std::ispunct(0)), int>::value), ""); 83 static_assert((std::is_same<decltype(std::isspace(0)), int>::value), "") [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p5.cpp | 23 const decltype(l) lc = l; 29 const decltype(ml) mlc = ml; 34 volatile decltype(l) lv = l; 35 volatile decltype(ml) mlv = ml; 39 bogus_override_if_virtual<decltype(l)> bogus;
|
/external/clang/test/SemaTemplate/ |
canonical-expr-type-0x.cpp | 7 void f0(T x, decltype(f(N, x)) y) { } // expected-note{{previous}} 10 void f0(T x, decltype((f)(N, x)) y) { } 13 void f0(U u, decltype(f(M, u))) { } // expected-error{{redefinition}}
|
/external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/ |
c++98.cc | 15 decltype, enumerator in enum:cxx11_keywords
|
/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
p10.cpp | 3 using size_t = decltype(sizeof(int));
|
/external/clang/test/CXX/over/over.oper/over.literal/ |
p8.cpp | 5 using size_t = decltype(sizeof(int));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/bits/ |
range_access.h | 48 begin(_Container& __cont) -> decltype(__cont.begin()) function 58 begin(const _Container& __cont) -> decltype(__cont.begin()) function 68 end(_Container& __cont) -> decltype(__cont.end()) function 78 end(const _Container& __cont) -> decltype(__cont.end()) function
|