/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...] |
/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())) { [all...] |
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...] |
/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)
|
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)); 67 static auto f() -> decltype(m); // expected-error{{'this' cannot be implicitly used in a static member function declaration}} 68 static auto g() -> decltype(this->m); // expected-error{{'this' cannot be used in a static member function declaration}} 75 auto X1::h() -> decltype(m) { return 0; } // expected-error{{'this' cannot be implicitly used in a static member function declaration}} function in namespace:Static 84 auto g(T x) -> decltype(f(x)) { return 0; [all...] |
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/ |
p1.cpp | 5 auto begin(T &&t) -> decltype(t.begin()) { return t.begin(); } // expected-note 4{{ignored: substitution failure}} function in namespace:std 7 auto end(T &&t) -> decltype(t.end()) { return t.end(); } // expected-note {{candidate template ignored: substitution failure [with T = }} function in namespace:std 10 auto begin(T &&t) -> decltype(t.alt_begin()) { return t.alt_begin(); } // expected-note {{selected 'begin' template [with T = }} \ function in namespace:std 13 auto end(T &&t) -> decltype(t.alt_end()) { return t.alt_end(); } // expected-note {{candidate template ignored: substitution failure [with T = }} function in namespace:std
|
/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/android-ndk-r5/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/android-ndk-r6/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/android-ndk-r7/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...] |
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 33 #define decltype macro 118 decltype
|