HomeSort by relevance Sort by last modified time
    Searched full:template (Results 601 - 625 of 20740) sorted by null

<<21222324252627282930>>

  /external/clang/test/SemaCXX/
decltype-overloaded-functions.cpp 7 template<typename T> struct S {
15 S<K> b; // expected-note{{in instantiation of template class 'S<K>' requested here}}
18 template<typename T> struct S { decltype(1) f(); };
19 template<typename T> decltype(1) S<T>::f() { return 1; }
24 template<typename T> struct U { struct A {}; decltype(A{}) f(); };
25 template<typename T> decltype(typename U<T>::A{}) U<T>::f() {}
28 template<typename T> struct V { struct A {}; decltype(typename V<T>::A{}) f(); };
29 template<typename T> decltype(typename V<T>::A{}) V<T>::f() {}
exception-spec.cpp 4 template<typename T> void foo(T) noexcept(true); // expected-note {{previous}}
5 template<typename T> void foo(T); // expected-error {{missing exception specification 'noexcept(true)'}}
pr13353.cpp 5 template<typename T>
8 template<typename T>
short-enums.cpp 7 template <typename T>
10 template <E Enum>
static-array-member.cpp 12 template<typename T, int N>
17 template<typename T, int N>
type-formatting.cpp 6 template<typename T>
10 template void f0<X1>(); // expected-note{{instantiation of}}
warn-unused-private-field-delayed-template.cpp 1 // RUN: %clang_cc1 -fsyntax-only -fdelayed-template-parsing -Wunused-private-field -Wused-but-marked-unused -Wno-uninitialized -verify -std=c++11 %s
7 template <class T>
  /external/clang/test/SemaObjCXX/
literals.mm 53 template<typename T>
58 template<typename T>
63 template<typename T>
69 template<typename T> ConvertibleTo<T> makeConvertible();
76 template<typename T> T test_numeric_instantiation() {
80 template id test_numeric_instantiation();
106 template<typename T>
111 template void test_array_literals(id);
112 template void test_array_literals(NSArray*);
113 template void test_array_literals(int); // expected-note{{in instantiation of function template specializat (…)
    [all...]
  /external/clang/test/SemaTemplate/
atomics.cpp 5 template<typename T> T f(T* value) {
12 template<typename T>
crash.cpp 4 template <typename T>
7 template <typename T>
instantiate-expr-6.cpp 4 template<typename T> static typename T::type g(T t);
5 template<typename T> auto f(T t) -> decltype(g(t));
instantiate-expr-basic.cpp 3 template <typename T>
17 template struct S<int>;
instantiate-overload-candidates.cpp 5 template <typename T> void f(T*, int) {}
7 template <typename T> struct S;
8 template <typename T> struct S_ : S<T> { typedef int type; }; // expected-note{{in instantiation}}
9 template <typename T> struct S {
17 template <typename T> S_<NoDefinition>::type f(T*, NoDefinition*); // expected-note{{in instantiation}}
25 template<typename T> struct X {
45 template<typename T> void f(B b) {
50 template void f<void>(B);
instantiation-depth-subst-2.cpp 3 template<int N> struct S { };
4 template<typename T> S<T() + T()> operator+(T, T); // expected-error {{instantiation exceeded maximum depth}} expected-note 2{{while substituting}}
instantiation-depth-subst.cpp 4 template<typename T> auto f(T t) -> decltype(f(t)); // \
5 // expected-error {{recursive template instantiation exceeded maximum depth of 2}} \
instantiation-depth.cpp 7 template<typename T> struct X : X<T*> { }; \
8 // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
9 // expected-note 3 {{instantiation of template class}} \
11 // expected-note {{use -ftemplate-depth=N to increase recursive template instantiation depth}}
14 (void)sizeof(X<int>); // expected-note {{instantiation of template class}}
21 template<typename T> struct S {
25 // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
28 // expected-note {{use -ftemplate-depth=N to increase recursive template instantiation depth}}
member-inclass-init-value-dependent.cpp 4 template<int Flags> struct foo {
15 template<typename> struct T {
member-initializers.cpp 4 template<typename T> struct A {
11 template<typename T> struct B : A<T> {
nested-incomplete-class.cpp 3 template <typename T>
14 template <typename T>
self-comparison.cpp 3 template <int A, int B> void foo() {
7 template <int A, int B> struct S1 {
14 template <int A, int B> struct S2 {
15 template <typename T> T foo() {
22 template <int A, int B> void foo() {
28 template <int A> struct S4 {
29 template <int B> void foo() {
36 template <int X> void foo2() {
temp_arg_nontype_cxx11.cpp 4 template<typename R, typename U, R F>
13 template<typename T> struct get { typedef T type; };
15 template<typename T, typename get<T *>::type P = nullptr> struct A {};
16 template<typename T, typename get<decltype((T(), nullptr))>::type P = nullptr> struct B {};
17 template<typename T, typename get<T X::*>::type P = nullptr> struct C {};
19 template<typename T> A<T> MakeA();
20 template<typename T> B<T> MakeB();
21 template<typename T> C<T> MakeC();
temp_class_order.cpp 3 template<typename T, typename U>
8 template<typename T, typename U>
13 template<typename T>
18 template<typename T>
29 template<typename T, typename U>
32 template<typename T, typename U>
35 template<typename T, typename U>
38 template<typename T, typename U>
unresolved-construct.cpp 8 template <class _F>
15 template <class T>
  /external/compiler-rt/test/asan/TestCases/Windows/
demangled_names.cc 9 // A template function in a namespace.
10 template<int x>
21 // A multi-argument template with a bool template parameter.
22 template<typename T, bool U>
28 template<typename T>
35 // A destructor of a template class.
36 template<>
  /external/libcxx/src/
algorithm.cpp 11 #define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__;
18 template void __sort<__less<char>&, char*>(char*, char*, __less<char>&);
19 template void __sort<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&);
20 template void __sort<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&);
21 template void __sort<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&);
22 template void __sort<__less<short>&, short*>(short*, short*, __less<short>&);
23 template void __sort<__less<unsigned short>&, unsigned short*>(unsigned short*, unsigned short*, __less<unsigned short>&);
24 template void __sort<__less<int>&, int*>(int*, int*, __less<int>&);
25 template void __sort<__less<unsigned>&, unsigned*>(unsigned*, unsigned*, __less<unsigned>&);
26 template void __sort<__less<long>&, long*>(long*, long*, __less<long>&)
    [all...]

Completed in 651 milliseconds

<<21222324252627282930>>