HomeSort by relevance Sort by last modified time
    Searched defs:decltype (Results 1 - 9 of 9) sorted by null

  /external/clang/test/SemaCXX/
trailing-return-0x.cpp 27 auto i(T x) -> decltype(x) function
40 auto g(T x, U y) -> decltype(x + y)
48 auto h(T x, U y, V z) -> decltype(x + y + z)
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/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
  /external/clang/test/CodeGenCXX/
mangle-exprs.cpp 28 void auto_(decltype(new auto(T()))) { function in namespace:Casts
58 template <class T> auto a(T t) -> decltype(foo(T())) { return foo(t); }
61 template <class T> auto b(T t) -> decltype((foo)(T())) { return (foo)(t); } function in namespace:test1
70 template <class T> void a(T x, decltype(x()) y) {}
71 template <class T> auto b(T x) -> decltype(x()) { return x(); }
72 template <class T> void c(T x, void (*p)(decltype(x()))) {}
73 template <class T> void d(T x, auto (*p)() -> decltype(x())) {}
74 template <class T> void e(auto (*p)(T y) -> decltype(y())) {}
75 template <class T> void f(void (*p)(T x, decltype(x()) y)) {}
76 template <class T> void g(T x, decltype(x()) y)
    [all...]
mangle.cpp 381 template <class T> decltype(((T*) 0)->member) read_member(T& obj) {
401 template <class T> decltype(((T*) 0)->Path1::ab) get_ab_1(T &ref) { return ref.Path1::ab; }
404 template <class T> decltype(((T*) 0)->Path2::ab) get_ab_2(T &ref) { return ref.Path2::ab; }
407 template <class T> decltype(((T*) 0)->Path1::p) get_p_1(T &ref) { return ref.Path1::p; }
410 template <class T> decltype(((T*) 0)->Path2::p) get_p_2(T &ref) { return ref.Path2::p; }
612 template <class T> void test0(decltype(f<T*>(0))) {} function in namespace:test20
613 template void test0<int>(decltype(f<int*>(0)));
616 template <class T> void test1(decltype(f<>(T()))) {} function in namespace:test20
617 template void test1<int>(decltype(f<>(int())));
628 void f(decltype(nullptr)) { function in namespace:test22
746 template<class T> auto f1(T p)->decltype(x) { return 0; } function in namespace:test31
749 template<class T> auto f2(T p)->decltype(p) { return 0; } function in namespace:test31
798 void f(decltype(sizeof(decltype(T() + T())))) {} function in namespace:test34
835 void f1(decltype(sizeof(&T::template operator+<int>))) {} function in namespace:test35
    [all...]
  /prebuilt/linux-x86/toolchain/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...]
  /prebuilt/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...]
  /prebuilt/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...]

Completed in 974 milliseconds