/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/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
|
stl_uninitialized.h | 536 -> decltype(__alloc.construct(__ptr)) function
|
stl_iterator.h | 375 -> decltype(__y.base() - __x.base()) function 880 -> decltype(__lhs.base() - __rhs.base()) function 1100 -> decltype(__x.base() - __y.base()) function 1107 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/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
|
stl_uninitialized.h | 536 -> decltype(__alloc.construct(__ptr)) function
|
stl_iterator.h | 375 -> decltype(__y.base() - __x.base()) function 880 -> decltype(__lhs.base() - __rhs.base()) function 1100 -> decltype(__x.base() - __y.base()) function 1107 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/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
|
stl_uninitialized.h | 536 -> decltype(__alloc.construct(__ptr)) function
|
stl_iterator.h | 375 -> decltype(__y.base() - __x.base()) function 880 -> decltype(__lhs.base() - __rhs.base()) function 1100 -> decltype(__x.base() - __y.base()) function 1107 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/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
|
stl_iterator.h | 383 -> decltype(__y.base() - __x.base()) function 888 -> decltype(__lhs.base() - __rhs.base()) function 1108 -> decltype(__x.base() - __y.base()) function 1115 -> decltype(__x.base() - __y.base()) function [all...] |
/external/clang/test/CodeGenCXX/ |
cxx11-user-defined-literal.cpp | 4 using size_t = decltype(sizeof(int)); 49 template<typename T> auto g(T t) -> decltype("foo"_x(t)) { return "foo"_x(t); } 50 template<typename T> auto i(T t) -> decltype(operator"" _x("foo", 3)(t)) { return operator"" _x("foo", 3)(t); } function
|
mangle-exprs.cpp | 4 typedef decltype(sizeof(int)) size_t; 60 void auto_(decltype(new auto(T()))) { function in namespace:Casts 64 void scalar_(decltype(T(), int())) { 97 template <class T> auto a(T t) -> decltype(foo(T())) { return foo(t); } 100 template <class T> auto b(T t) -> decltype((foo)(T())) { return (foo)(t); } function in namespace:test1 109 template <class T> void a(T x, decltype(x()) y) {} 110 template <class T> auto b(T x) -> decltype(x()) { return x(); } 111 template <class T> void c(T x, void (*p)(decltype(x()))) {} 112 template <class T> void d(T x, auto (*p)() -> decltype(x())) {} 113 template <class T> void e(auto (*p)(T y) -> decltype(y())) { 197 template <typename T> void a(decltype(noexcept(T()))) {} function in namespace:test5 [all...] |
/external/clang/test/SemaCXX/ |
trailing-return-0x.cpp | 37 auto i(T x) -> decltype(x) function 50 auto g(T x, U y) -> decltype(x + y) 58 auto h(T x, U y, V z) -> decltype(x + y + z) 75 auto f1(T t) -> decltype(f1(t)) {} // expected-note{{candidate template ignored}} 82 auto f2(T t) -> decltype(f2(&t)) {} // expected-note{{candidate template ignored}}
|
class-base-member-init.cpp | 83 A() : decltype(Base(1))(3) { 86 decltype(Base(1))(2), // expected-error {{multiple initializations given for base 'decltype(test5::Base(1))' (aka 'test5::Base')}} 87 decltype(int())() { // expected-error {{constructor initializer 'decltype(int())' (aka 'int') does not name a class}} function in struct:test5::A 89 A(float) : decltype(A())(3) {
|
for-range-examples.cpp | 61 decltype(sizeof(char)) size; 87 auto operator*() const -> decltype(f(*i)) { return f(*i); } function in class:map_range::map_iter 112 auto map(const F &f, T &t) -> iter_pair<map_iter<F, decltype(t.begin())>> { 113 typedef map_iter<F, decltype(t.begin())> iter;
|
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 17 extern int ID(decltype); // expected-warning {{'decltype' is a keyword in C++11}} 32 int decltype; // already diagnosed in this TU variable
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
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((*this).ptr)); 34 auto g2() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(ptr)); 84 static auto f() -> decltype(m); // expected-error{{'this' cannot be implicitly used in a static member function declaration}} 85 static auto g() -> decltype(this->m); // expected-error{{'this' cannot be used in a static member function declaration}} 92 auto X1::h() -> decltype(m) { return 0; } // expected-error{{'this' cannot be implicitly used in a static member function declaration}} function in namespace:Static 101 auto g(T x) -> decltype(f(x)) { return 0; [all...] |
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/ |
p1.cpp | 17 auto begin(T &&t) -> decltype(t.begin()) { return t.begin(); } // expected-note 2{{ignored: substitution failure}} function in namespace:X 19 auto end(T &&t) -> decltype(t.end()) { return t.end(); } // expected-note {{candidate template ignored: substitution failure [with T = }} function in namespace:X 22 auto begin(T &&t) -> decltype(t.alt_begin()) { return t.alt_begin(); } // expected-note {{selected 'begin' template [with T = }} \ function in namespace:X 25 auto end(T &&t) -> decltype(t.alt_end()) { return t.alt_end(); } // expected-note {{candidate template ignored: substitution failure [with T = }} function in namespace:X
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
multi-level-substitution.cpp | 196 constexpr auto f1(A ...a) -> decltype(g(A(a + B())...)) { return g(A(a + B())...); } 199 constexpr auto f2(A ...a, B ...b) -> decltype(g((&a)[b] ...)) { return g((&a)[b] ...); } // expected-note {{past-the-end}} function in struct:PacksAtDifferentLevels::PR13811::X6 203 constexpr auto f(A ...a, B ...b, C ...c) -> decltype(g(a+b+c...)) { return g(a+b+c...); }
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
stl_iterator.h | 368 -> decltype(__y.base() - __x.base()) function 846 -> decltype(__lhs.base() - __rhs.base()) function 1020 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_iterator.h | 368 -> decltype(__y.base() - __x.base()) function 846 -> decltype(__lhs.base() - __rhs.base()) function 1020 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_iterator.h | 368 -> decltype(__y.base() - __x.base()) function 846 -> decltype(__lhs.base() - __rhs.base()) function 1020 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stl_iterator.h | 368 -> decltype(__y.base() - __x.base()) function 846 -> decltype(__lhs.base() - __rhs.base()) function 1020 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
stl_iterator.h | 368 -> decltype(__y.base() - __x.base()) function 846 -> decltype(__lhs.base() - __rhs.base()) function 1020 -> decltype(__x.base() - __y.base()) function [all...] |