/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
|
stl_uninitialized.h | 536 -> decltype(__alloc.construct(__ptr)) function
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/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
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/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
|
/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
|
/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
|
/prebuilts/ndk/9/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
|
/prebuilts/ndk/9/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
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/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
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/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
|
/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/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/ |
c++98.cc | 15 decltype, enumerator in enum:cxx11_keywords
|
/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/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
|
keywords_test.cpp | 18 CXX11_KEYWORD(decltype); variable
|
/external/clang/test/SemaCXX/ |
trailing-return-0x.cpp | 21 decltype(auto) g2(); // expected-warning{{extension}} expected-error-re{{{{^}}deduced return types are a C++1y extension}} 39 auto i(T x) -> decltype(x) function 52 auto g(T x, U y) -> decltype(x + y) 60 auto h(T x, U y, V z) -> decltype(x + y + z) 77 auto f1(T t) -> decltype(f1(t)) {} // expected-note{{candidate template ignored}} 84 auto f2(T t) -> decltype(f2(&t)) {} // expected-note{{candidate template ignored}} 95 auto f() -> decltype(+*this); // expected-note {{here}} 96 auto f() -> decltype((*this)[0]); // expected-error {{cannot be overloaded}} 103 auto g()->decltype(this->f<0>());
|
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/CXX/expr/expr.prim/expr.prim.lambda/ |
p11-1y.cpp | 7 using T = decltype(f); 11 using T = decltype(f); 23 (void) [c("bar")] () -> decltype(c) { // outer c, not init-capture function 61 using T = decltype(c); 69 template<typename T> decltype(auto) move(T &&t) { return static_cast<typename remove_reference<T>::type&&>(t); }
|
/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) const -> decltype(g(A(a + B())...)) { return g(A(a + B())...); } 199 constexpr auto f2(A ...a, B ...b) const -> 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) const -> decltype(g(a+b+c...)) { return g(a+b+c...); }
|