/external/llvm-project/clang/test/SemaTemplate/ |
D | class-template-ctor-initializer.cpp | 19 template<typename T> struct Tmpl { }; struct 23 struct TmplC : Tmpl<int> { 25 Tmpl<int>(), in TmplC() 30 struct TmplD : Tmpl<char>, TmplB<char> { 32 … Tmpl<int>(), // expected-error {{type 'Tmpl<int>' is not a direct or virtual base of 'TmplD'}} in TmplD()
|
/external/clang/test/SemaTemplate/ |
D | class-template-ctor-initializer.cpp | 19 template<typename T> struct Tmpl { }; struct 23 struct TmplC : Tmpl<int> { 25 Tmpl<int>(), in TmplC() 30 struct TmplD : Tmpl<char>, TmplB<char> { 32 … Tmpl<int>(), // expected-error {{type 'Tmpl<int>' is not a direct or virtual base of 'TmplD'}} in TmplD()
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 117 } else if (const RedeclarableTemplateDecl *Tmpl in clang_getSpecializedCursorTemplate() local 119 Template = Tmpl->getInstantiatedFromMemberTemplate(); in clang_getSpecializedCursorTemplate()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCXX.cpp | 114 } else if (const RedeclarableTemplateDecl *Tmpl in clang_getSpecializedCursorTemplate() local 116 Template = Tmpl->getInstantiatedFromMemberTemplate(); in clang_getSpecializedCursorTemplate()
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 114 template <GTEST_TEMPLATE_ Tmpl> 118 typedef Tmpl<T> type;
|
/external/googletest/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 114 template <GTEST_TEMPLATE_ Tmpl> 118 typedef Tmpl<T> type;
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
D | gtest-type-util.h.pump | 199 // 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;
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-type-util.h.pump | 187 // The template "selector" struct TemplateSel<Tmpl> is used to 188 // represent Tmpl, which must be a class template with one type 189 // parameter, as a type. TemplateSel<Tmpl>::Bind<T>::type is defined 190 // as the type Tmpl<T>. This allows us to actually instantiate the 191 // template "selected" by TemplateSel<Tmpl>. 195 template <GTEST_TEMPLATE_ Tmpl> 199 typedef Tmpl<T> type;
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | debug-info-use-after-free.cpp | 13 template < template < typename > class Tmpl > struct TemplateSel 17 typedef Tmpl < T > type;
|
D | dllexport.cpp | 866 template<typename> struct Tmpl {}; struct 872 Tmpl<Inner> y;
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-use-after-free.cpp | 11 template < template < typename > class Tmpl > struct TemplateSel 15 typedef Tmpl < T > type;
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 172 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 …]
|
D | SemaTemplateInstantiate.cpp | 88 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in getTemplateInstantiationArgs() local 89 if (Tmpl->isMemberSpecialization()) in getTemplateInstantiationArgs()
|
D | SemaLookup.cpp | 2966 } 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()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Template.h | 589 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl); 590 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl); 592 bool SubstDefaultedFunction(FunctionDecl *New, FunctionDecl *Tmpl);
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 202 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument 233 const EnableIfAttr *EIA, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentEnableIfAttr() argument 235 S, TemplateArgs, EIA, EIA->getCond(), Tmpl, New); in instantiateDependentEnableIfAttr() 244 const DiagnoseIfAttr *DIA, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentDiagnoseIfAttr() argument 246 S, TemplateArgs, DIA, DIA->getCond(), Tmpl, New); in instantiateDependentDiagnoseIfAttr() 552 const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, in InstantiateAttrsForDecl() argument 556 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrsForDecl() 586 const Decl *Tmpl, Decl *New, in InstantiateAttrs() argument 589 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrs() 618 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl, in InstantiateAttrs() [all …]
|
D | SemaLookup.cpp | 3188 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() local 3192 Tmpl, Cand, RD, nullptr, ThisTy, Classification, in LookupSpecialMember() 3200 Tmpl, Cand, nullptr, llvm::makeArrayRef(&Arg, NumArgs), OCS, true); in LookupSpecialMember()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 490 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl); 491 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 795 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, 817 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1094 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList() local 1095 return Tmpl->getTemplateParameters(); in getGenericLambdaTemplateParameterList()
|
D | ASTContext.cpp | 1171 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/llvm-project/clang/include/clang/AST/ |
D | ASTContext.h | 853 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, 875 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1184 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/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1362 if (auto *Tmpl = readDeclAs<FieldDecl>()) in VisitFieldDecl() local 1363 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); in VisitFieldDecl() 1479 auto *Tmpl = readDeclAs<VarDecl>(); in VisitVarDeclImpl() local 1482 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI); in VisitVarDeclImpl()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclCXX.cpp | 1566 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList() local 1567 return Tmpl->getTemplateParameters(); in getGenericLambdaTemplateParameterList()
|