Home
last modified time | relevance | path

Searched refs:Tmpl (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/test/SemaTemplate/
Dclass-template-ctor-initializer.cpp19 template<typename T> struct Tmpl { }; struct
23 struct TmplC : Tmpl<int> {
25 Tmpl<int>(), in TmplC()
30 struct TmplD : Tmpl<char>, TmplB<char> {
32Tmpl<int>(), // expected-error {{type 'Tmpl<int>' is not a direct or virtual base of 'TmplD'}} in TmplD()
/external/clang/tools/libclang/
DCIndexCXX.cpp117 } else if (const RedeclarableTemplateDecl *Tmpl in clang_getSpecializedCursorTemplate() local
119 Template = Tmpl->getInstantiatedFromMemberTemplate(); in clang_getSpecializedCursorTemplate()
/external/googletest/googletest/include/gtest/internal/
Dgtest-type-util.h.pump199 // The template "selector" struct TemplateSel<Tmpl> is used to
200 // represent Tmpl, which must be a class template with one type
201 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
202 // as the type Tmpl<T>. This allows us to actually instantiate the
203 // template "selected" by TemplateSel<Tmpl>.
207 template <GTEST_TEMPLATE_ Tmpl>
211 typedef Tmpl<T> type;
Dgtest-type-util.h1648 template <GTEST_TEMPLATE_ Tmpl>
1652 typedef Tmpl<T> type;
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-type-util.h.pump182 // The template "selector" struct TemplateSel<Tmpl> is used to
183 // represent Tmpl, which must be a class template with one type
184 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
185 // as the type Tmpl<T>. This allows us to actually instantiate the
186 // template "selected" by TemplateSel<Tmpl>.
190 template <GTEST_TEMPLATE_ Tmpl>
194 typedef Tmpl<T> type;
Dgtest-type-util.h1632 template <GTEST_TEMPLATE_ Tmpl>
1636 typedef Tmpl<T> type;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-type-util.h.pump182 // The template "selector" struct TemplateSel<Tmpl> is used to
183 // represent Tmpl, which must be a class template with one type
184 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
185 // as the type Tmpl<T>. This allows us to actually instantiate the
186 // template "selected" by TemplateSel<Tmpl>.
190 template <GTEST_TEMPLATE_ Tmpl>
194 typedef Tmpl<T> type;
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-type-util.h.pump183 // The template "selector" struct TemplateSel<Tmpl> is used to
184 // represent Tmpl, which must be a class template with one type
185 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
186 // as the type Tmpl<T>. This allows us to actually instantiate the
187 // template "selected" by TemplateSel<Tmpl>.
191 template <GTEST_TEMPLATE_ Tmpl>
195 typedef Tmpl<T> type;
Dgtest-type-util.h1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-type-util.h.pump199 // The template "selector" struct TemplateSel<Tmpl> is used to
200 // represent Tmpl, which must be a class template with one type
201 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined
202 // as the type Tmpl<T>. This allows us to actually instantiate the
203 // template "selected" by TemplateSel<Tmpl>.
207 template <GTEST_TEMPLATE_ Tmpl>
211 typedef Tmpl<T> type;
Dgtest-type-util.h1649 template <GTEST_TEMPLATE_ Tmpl>
1653 typedef Tmpl<T> type;
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp172 const EnableIfAttr *A, const Decl *Tmpl, Decl *New) { in instantiateDependentEnableIfAttr() argument
190 !Expr::isPotentialConstantExprUnevaluated(Cond, cast<FunctionDecl>(Tmpl), in instantiateDependentEnableIfAttr()
311 const Decl *Tmpl, Decl *New, in InstantiateAttrs() argument
314 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrs()
336 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl, in InstantiateAttrs()
3391 FunctionDecl *Tmpl) { in InitFunctionInstantiation() argument
3392 if (Tmpl->isDeleted()) in InitFunctionInstantiation()
3397 SemaRef.Context.getManglingNumber(Tmpl)); in InitFunctionInstantiation()
3413 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation()
3421 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>(); in InitFunctionInstantiation()
[all …]
DSemaTemplateInstantiate.cpp88 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in getTemplateInstantiationArgs() local
89 if (Tmpl->isMemberSpecialization()) in getTemplateInstantiationArgs()
DSemaLookup.cpp2966 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() local
2970 Tmpl, Cand, RD, nullptr, ThisTy, Classification, in LookupSpecialMember()
2978 Tmpl, Cand, nullptr, llvm::makeArrayRef(&Arg, NumArgs), OCS, true); in LookupSpecialMember()
DSemaTemplate.cpp1051 auto *Tmpl = cast<CXXRecordDecl>(Hidden)->getDescribedClassTemplate(); in CheckClassTemplate() local
1052 assert(Tmpl && "original definition of a class template is not a " in CheckClassTemplate()
1055 makeMergedDefinitionVisible(Tmpl, KWLoc); in CheckClassTemplate()
/external/clang/test/CodeGenCXX/
Ddebug-info-use-after-free.cpp11 template < template < typename > class Tmpl > struct TemplateSel
15 typedef Tmpl < T > type;
/external/clang/include/clang/Sema/
DTemplate.h490 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl);
491 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
/external/clang/include/clang/AST/
DASTContext.h795 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl,
817 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
/external/clang/lib/AST/
DDeclCXX.cpp1094 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList() local
1095 return Tmpl->getTemplateParameters(); in getGenericLambdaTemplateParameterList()
DASTContext.cpp1171 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, in setInstantiatedFromStaticDataMember() argument
1175 assert(Tmpl->isStaticDataMember() && "Not a static data member"); in setInstantiatedFromStaticDataMember()
1177 Tmpl, TSK, PointOfInstantiation)); in setInstantiatedFromStaticDataMember()
1253 FieldDecl *Tmpl) { in setInstantiatedFromUnnamedFieldDecl() argument
1255 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); in setInstantiatedFromUnnamedFieldDecl()
1259 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; in setInstantiatedFromUnnamedFieldDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1184 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) in VisitFieldDecl() local
1185 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); in VisitFieldDecl()
1260 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); in VisitVarDeclImpl() local
1263 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI); in VisitVarDeclImpl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1632 if (FunctionDecl *Tmpl = I->getInstantiatedFromMemberFunction()) in hasExplicitMemberDefinition() local
1633 if (!Tmpl->isImplicit() && Tmpl->isThisDeclarationADefinition() && in hasExplicitMemberDefinition()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-type-util.h1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-type-util.h1633 template <GTEST_TEMPLATE_ Tmpl>
1637 typedef Tmpl<T> type;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-type-util.h1632 template <GTEST_TEMPLATE_ Tmpl>
1636 typedef Tmpl<T> type;

12