/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/google-breakpad/src/testing/gtest/include/gtest/internal/ |
D | gtest-type-util.h.pump | 183 // 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;
|
D | gtest-type-util.h | 1633 template <GTEST_TEMPLATE_ Tmpl> 1637 typedef Tmpl<T> type;
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
D | gtest-type-util.h.pump | 182 // 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;
|
D | gtest-type-util.h | 1632 template <GTEST_TEMPLATE_ Tmpl> 1636 typedef Tmpl<T> type;
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-type-util.h.pump | 182 // 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/googletest/googletest/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;
|
D | gtest-type-util.h | 1648 template <GTEST_TEMPLATE_ Tmpl> 1652 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;
|
D | gtest-type-util.h | 1649 template <GTEST_TEMPLATE_ Tmpl> 1653 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()
|
D | SemaTemplate.cpp | 1051 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/ |
D | debug-info-use-after-free.cpp | 11 template < template < typename > class Tmpl > struct TemplateSel 15 typedef Tmpl < T > type;
|
/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/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/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1632 if (FunctionDecl *Tmpl = I->getInstantiatedFromMemberFunction()) in hasExplicitMemberDefinition() local 1633 if (!Tmpl->isImplicit() && Tmpl->isThisDeclarationADefinition() && in hasExplicitMemberDefinition()
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 1633 template <GTEST_TEMPLATE_ Tmpl> 1637 typedef Tmpl<T> type;
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 1632 template <GTEST_TEMPLATE_ Tmpl> 1636 typedef Tmpl<T> type;
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-type-util.h | 1633 template <GTEST_TEMPLATE_ Tmpl> 1637 typedef Tmpl<T> type;
|