| /external/clang/test/CXX/over/over.oper/over.literal/ |
| p2.cpp | 31 template<char...> void operator "" _h() {} 33 template<> void operator "" _h<'a', 'b', 'c'>() {} 35 template void operator "" _h<'a', 'b', 'c', 'd'>();
|
| /external/clang/test/CXX/special/class.copy/ |
| p33-0x.cpp | 44 template<typename T> 56 template void f2<X>(int); // expected-note{{in instantiation of function template specialization 'PR10142::f2<PR10142::X>' requested here}}
|
| /external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/ |
| p1.cpp | 5 template<typename T> 10 template<typename T> 31 template<typename T> T x; // expected-warning{{variable templates are a C++14 extension}}
|
| /external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| p5.cpp | 3 template<typename T, typename U> struct pair; 4 template<typename ...> struct tuple; 12 template<typename... Types> 21 template<typename ...Types> 23 template<typename ...OtherTypes> 33 ExpansionLengthMismatch<short, int, long>::Inner<unsigned int, unsigned long>::type // expected-note{{in instantiation of template class 'ExpansionLengthMismatch<short, int, long>::Inner<unsigned int, unsigned long>' requested here}} 41 template<typename T, int N, typename ... Types> 122 typedef typename Types::template apply<int> dependent_name_1; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} 123 typedef typename T::template apply<Types> dependent_name_2; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} 131 template<int ...Values [all...] |
| /external/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/ |
| p2-0x.cpp | 4 template<int n> struct S; 6 template<int n> struct T { 12 // - the name of a non-type template parameter
|
| /external/clang/test/CodeCompletion/ |
| objc-message.mm | 22 template<typename T> struct RetainPtr { 23 template <typename U> struct RemovePointer { typedef U Type; }; 24 template <typename U> struct RemovePointer<U*> { typedef U Type; };
|
| /external/clang/test/CodeGenCXX/ |
| debug-info-alias.cpp | 3 template<typename T> 9 template<typename T> 32 template <typename T>
|
| debug-info-template-fwd.cpp | 9 template <class A> class Derived; 11 template <class A> class Base { 15 template <class A> struct Derived : Base<A> {
|
| microsoft-compatibility.cpp | 3 template <typename> 8 template <> 13 template<class T>
|
| microsoft-uuidof-mangling.cpp | 13 template < typename T, const GUID & T_iid = __uuidof(T)> 25 template <class T> void test_uuidofType(void *arg[sizeof(__uuidof(T))] = 0) {} 27 template <class T> void test_uuidofExpr(void *arg[sizeof(__uuidof(T::member))] = 0) {}
|
| pr13396.cpp | 3 template<typename T> 20 // FIXME: how can we explicitly instantiate a template constructor? Gcc and 22 // template foo::foo(int x);
|
| template-anonymous-types.cpp | 8 template <typename T> struct X { 14 template <typename T> int f(T t) { 27 // Now check for the class template instantiations.
|
| /external/clang/test/CodeGenObjCXX/ |
| arc-mangle.mm | 21 template<unsigned N> struct unsigned_c { }; 24 template<typename T>void g(unsigned_c<sizeof((__bridge T*)(__bridge id)(T*)0) + 1>*) {} 25 template void g<const void>(unsigned_c<sizeof(id) + 1> *);
|
| /external/clang/test/Modules/ |
| merge-template-friend.cpp | 5 // RUN: %S/Inputs/merge-template-friend/module.modulemap 9 // RUN: %S/Inputs/merge-template-friend/module.modulemap 12 // RUN: -I%S/Inputs/merge-template-friend \
|
| /external/clang/test/SemaCXX/ |
| address-of.cpp | 28 template<int N> 49 template<typename T> struct S { 52 template<typename T> void S<T>::f() { T::error; }
|
| cv-unqual-rvalues.cpp | 5 template <typename T_> void g (T_&); // expected-note 7{{not viable}} 7 template<const int X> void h() { 11 template<typename T, T X> void h2() {
|
| cxx98-compat.cpp | 7 template<typename T> struct initializer_list { 16 template<typename ...T> // expected-warning {{variadic templates are incompatible with C++98}} 19 template<template<typename> class ...T> // expected-warning {{variadic templates are incompatible with C++98}} 22 template<int ...I> // expected-warning {{variadic templates are incompatible with C++98}} 42 template<typename T> struct S {}; 134 template<typename T> using AliasTemplate = T; // expected-warning {{alias declarations are incompatible with C++98}} 170 template<int n = 0> void DefaultFuncTemplateArg(); // expected-warning {{default template arguments for a function template are incompatible with C++98} [all...] |
| libstdcxx_common_type_hack.cpp | 12 template<typename T> T &&declval(); 14 template<typename...Ts> struct common_type {}; 15 template<typename A, typename B> struct common_type<A, B> {
|
| /external/clang/test/SemaTemplate/ |
| member-access-ambig.cpp | 38 template<typename Derived> class A; 39 template<typename Derived> class B : A<Derived> { 49 template<typename T> struct S : T {
|
| /external/clang/unittests/Tooling/ |
| RecursiveASTVisitorTestExprVisitor.cpp | 50 "template<typename T> class X;\n" 51 "template<template <typename> class T = X> class Y;\n" 52 "template<template <typename> class T> class Y {};\n")); 71 "template<bool B> class X;\n" 72 "template<bool B = true> class Y;\n" 73 "template<bool B> class Y {};\n")); 175 "void x(); template <void (*T)()> class X {};\nX<x> y;")); 200 "template <typename T> void x();\n [all...] |
| /external/compiler-rt/test/asan/TestCases/Linux/ |
| preinit_test.cc | 15 // with C++ template magic which runs global initializer at library load time. 26 template <class> struct O { 29 template <class T> A const O <T>::e = get();
|
| /external/compiler-rt/test/asan/TestCases/ |
| deep_stack_uaf.cc | 10 template <int depth> 17 template<> 31 // extra 'E' characters to the end of template arguments; see:
|
| /external/dbus/cmake/modules/ |
| MacrosAutotools.cmake | 26 # parses config.h template and create cmake equivalent 29 macro(autoconfig template output) 30 file(READ ${template} contents)
|
| /external/eigen/Eigen/src/Core/ |
| DiagonalProduct.h | 1 // This file is part of Eigen, a lightweight C++ template library 17 template<typename MatrixType, typename DiagonalType, int ProductOrder> 43 template<typename MatrixType, typename DiagonalType, int ProductOrder> 74 template<int LoadMode> 86 template<int LoadMode> 96 template<int LoadMode> 99 return internal::pmul(m_matrix.template packet<LoadMode>(row, col), 103 template<int LoadMode> 110 return internal::pmul(m_matrix.template packet<LoadMode>(row, col), 111 m_diagonal.diagonal().template packet<DiagonalVectorPacketLoadMode>(id)) [all...] |
| Fuzzy.h | 1 // This file is part of Eigen, a lightweight C++ template library 19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger> 31 template<typename Derived, typename OtherDerived> 40 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger> 49 template<typename Derived, typename OtherDerived> 58 template<typename Derived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger> 67 template<typename Derived> 96 template<typename Derived> 97 template<typename OtherDerived> 119 template<typename Derived [all...] |