/external/clang/test/FixIt/ |
typo-crash.cpp | 6 template<typename T> void template_id1() { // expected-note {{'template_id1' declared here}} \
|
/external/clang/test/Index/ |
usrs-cxx0x.cpp | 1 template<typename ...Types>
|
/external/clang/test/PCH/Inputs/ |
working-directory-1.h | 1 template<typename T> struct A {
|
/external/clang/test/SemaTemplate/ |
alias-template-template-param.cpp | 3 template<template<typename> class D> using C = D<int>; 7 template<typename T> void f(C<T::template U>);
|
typename-specifier-4.cpp | 2 template<typename T, typename U> 7 template<typename T> 12 template<typename MetaFun, typename T1, typename T2> 14 typedef typename MetaFun::template apply<T1, T2> inner; 15 typedef typename inner::type type; 18 template<typename T, typename U> struct pair [all...] |
friend-template.cpp | 7 template<typename T> friend struct Y; 12 template<typename T> struct Y {}; 17 template<typename T> void f1(T) { } // expected-note{{here}} 20 template<typename T> friend void f0(T); 21 template<typename T> friend void f1(T); 24 template<typename T> void f0(T) { } 25 template<typename T> void f1(T) { } // expected-error{{redefinition}} 30 template<typename T> struct X0 { 31 template<typename U> friend struct X0; 34 template<typename T> struct X0<T*> [all...] |
nested-template.cpp | 6 template<typename T> struct A { 16 template<typename T> 18 template<typename U> 21 template<typename U> 26 template<typename V> T bar(V); 27 template<typename V> T* bar(V); 34 template<typename X> 35 template<typename Y> 41 template<typename X> 42 template<typename Y [all...] |
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 [all...] |
current-instantiation.cpp | 11 template<typename T, typename U> 17 void f0(typename X0::U_type&); 18 void f0(typename X0::T_type&); // expected-error{{redecl}} 21 void f1(typename X0::U_type&); 22 void f1(typename X0<T, U>::T_type&); // expected-error{{redecl}} 25 void f2(typename X0::U_type&); 26 void f2(typename X0<T_type, U_type>::T_type&); // expected-error{{redecl}} 29 void f3(typename X0::U_type&); 30 void f3(typename ::X0<T_type, U_type>::T_type&); // expected-error{{redecl} [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
injected-class-name.cpp | 6 template<typename T, typename ...Types> 14 template<typename T, typename ...Types> 17 template<typename T, typename ...Types> 18 typename X0<T, Types...>::type X0<T, Types...>::f1(T) { } 20 template<typename T, typename ...Types> 25 template<typename... InnerTypes [all...] |
partial-ordering.cpp | 4 template<typename ...Types> struct tuple; 6 template<typename Tuple> 11 template<typename Head, typename ...Tail> 16 template<typename Head, typename ...Tail> 21 template<typename Head, typename ...Tail> 33 template<typename T1, typename T2, typename ...Rest [all...] |
/external/clang/test/Parser/ |
cxx-ambig-decl-expr.cpp | 4 template<typename T, typename U>
|
/external/clang/test/SemaCXX/ |
alias-template.cpp | 4 template<typename U> using T = int; 5 template<typename U> using T = int; 6 template<typename U> using T = T<U>; 10 template<typename U> using A = void(int n = 0); // expected-error {{default arguments can only be specified for parameters in a function declaration}} 11 template<typename U> using B = inline void(int n); // expected-error {{type name does not allow function specifier}} 12 template<typename U> using C = virtual void(int n); // expected-error {{type name does not allow function specifier}} 13 template<typename U> using D = explicit void(int n); // expected-error {{type name does not allow function specifier}} 14 template<typename U> using E = void(int n) throw(); // expected-error {{exception specifications are not allowed in type aliases}} 16 template<typename U> using F = void(*)(int n) &&; // expected-err 17 template<typename U> using G = __thread void(int n); // expected-error {{type name does not allow storage class to b (…) [all...] |
issue547.cpp | 3 template<typename T> 8 template<typename R, typename ...Args> 13 template<typename R, typename ...Args> 18 template<typename R, typename ...Args> 23 template<typename R, typename ...Args> 28 template<typename R, typename ...Args [all...] |
PR9461.cpp | 5 template<typename,typename=int,typename=int>struct basic_string; 11 template<typename aT,typename,typename oc> 24 template<typename _CharT,typename _Traits,typename _Alloc>
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
algorithmfwd.h | 41 template<typename _FIter> 45 template<typename _FIter> 49 template<typename _FIter, typename _IterTag> 53 template<typename _RAIter> 58 template<typename _FIter, typename _BiPredicate> 62 template<typename _FIter, typename _BiPredicate> 67 template<typename _FIter, typename _BiPredicate, typename _IterTag [all...] |
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
p14.cpp | 3 template<typename T> struct identity; 4 template<typename ...Types> struct tuple; 6 template<typename T, typename U> struct is_same { 10 template<typename T> struct is_same<T, T> { 21 template<typename T, typename ...Types>
|
/external/webkit/Source/JavaScriptCore/wtf/ |
HashMap.h | 28 template<typename PairType> struct PairFirstExtractor; 30 template<typename KeyArg, typename MappedArg, typename HashArg = typename DefaultHash<KeyArg>::Hash, 31 typename KeyTraitsArg = HashTraits<KeyArg>, typename MappedTraitsArg = HashTraits<MappedArg> > 40 typedef typename KeyTraits::TraitType KeyType; 41 typedef typename MappedTraits::TraitType MappedType; 42 typedef typename ValueTraits::TraitType ValueType [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
cast.h | 44 template<typename _ToType> 46 { typedef typename _ToType::element_type* type; }; 48 template<typename _ToType> 59 template<typename _ToType, typename _FromType> 62 { return _ToType(static_cast<typename _Caster<_ToType>:: 65 template<typename _ToType, typename _FromType> 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>:: 71 template<typename _ToType, typename _FromType [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
cast.h | 44 template<typename _ToType> 46 { typedef typename _ToType::element_type* type; }; 48 template<typename _ToType> 59 template<typename _ToType, typename _FromType> 62 { return _ToType(static_cast<typename _Caster<_ToType>:: 65 template<typename _ToType, typename _FromType> 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>:: 71 template<typename _ToType, typename _FromType [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
cast.h | 44 template<typename _ToType> 46 { typedef typename _ToType::element_type* type; }; 48 template<typename _ToType> 59 template<typename _ToType, typename _FromType> 62 { return _ToType(static_cast<typename _Caster<_ToType>:: 65 template<typename _ToType, typename _FromType> 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>:: 71 template<typename _ToType, typename _FromType [all...] |
/prebuilt/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
cast.h | 44 template<typename _ToType> 46 { typedef typename _ToType::element_type* type; }; 48 template<typename _ToType> 59 template<typename _ToType, typename _FromType> 62 { return _ToType(static_cast<typename _Caster<_ToType>:: 65 template<typename _ToType, typename _FromType> 68 { return _ToType(dynamic_cast<typename _Caster<_ToType>:: 71 template<typename _ToType, typename _FromType [all...] |
/external/clang/test/CodeGenCXX/ |
mangle-variadic-templates.cpp | 3 template<unsigned I, typename ...Types> 6 template<typename T> struct identity { }; 7 template<typename T> struct add_reference; 8 template<typename ...Types> struct tuple { }; 10 template<template<typename> class ...Templates> struct template_tuple { }; 13 template<typename ...Types> 22 template<typename ...Types> void f1() {} 31 template<typename ...Types> void f2(Types...) {} 40 template<typename ...Types> void f3(const Types *...) {} 49 template<typename ...Types> tuple<Types...> f4() { [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p5-0x.cpp | 5 template<typename T, typename U> 10 template<typename R, typename FirstType, typename ...Types>
|
/external/clang/test/CXX/temp/temp.param/ |
p2.cpp | 3 // There is no semantic difference between class and typename in a 4 // template-parameter. typename followed by an unqualified-id names a 7 template<typename T> struct X; 9 // typename followed by aqualified-id denotes the type in a non-type 11 template<typename T, typename T::type Value> struct Y0; 12 template<typename T, typename X<T>::type Value> struct Y1;
|