Home
last modified time | relevance | path

Searched refs:TemplateParameterList (Results 1 – 25 of 121) sorted by relevance

12345

/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp47 TemplateParameterList::TemplateParameterList(const ASTContext& C, in TemplateParameterList() function in TemplateParameterList
89 TemplateParameterList *
90 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create()
96 alignof(TemplateParameterList)); in Create()
97 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
101 unsigned TemplateParameterList::getMinRequiredArguments() const { in getMinRequiredArguments()
141 unsigned TemplateParameterList::getDepth() const { in getDepth()
154 static void AdoptTemplateParameterList(TemplateParameterList *Params, in AdoptTemplateParameterList()
164 void TemplateParameterList::
180 bool TemplateParameterList::hasAssociatedConstraints() const { in hasAssociatedConstraints()
[all …]
DDeclFriend.cpp38 ArrayRef<TemplateParameterList *> FriendTypeTPLists) { in Create()
57 FriendDecl::additionalSizeToAlloc<TemplateParameterList *>( in Create()
68 additionalSizeToAlloc<TemplateParameterList *>(FriendTypeNumTPLists); in CreateDeserialized()
/external/clang/lib/AST/
DDeclTemplate.cpp31 TemplateParameterList::TemplateParameterList(SourceLocation TemplateLoc, in TemplateParameterList() function in TemplateParameterList
57 TemplateParameterList *TemplateParameterList::Create( in Create()
61 llvm::alignOf<TemplateParameterList>()); in Create()
62 return new (Mem) TemplateParameterList(TemplateLoc, LAngleLoc, Params, in Create()
66 unsigned TemplateParameterList::getMinRequiredArguments() const { in getMinRequiredArguments()
94 unsigned TemplateParameterList::getDepth() const { in getDepth()
109 static void AdoptTemplateParameterList(TemplateParameterList *Params, in AdoptTemplateParameterList()
203 TemplateParameterList *Params, in GenerateInjectedTemplateArgs()
250 TemplateParameterList *Params, in Create()
303 TemplateParameterList *Params = getTemplateParameters(); in getInjectedTemplateArgs()
[all …]
DDeclFriend.cpp31 ArrayRef<TemplateParameterList*> FriendTypeTPLists) { in Create()
50 FriendDecl::additionalSizeToAlloc<TemplateParameterList *>( in Create()
61 additionalSizeToAlloc<TemplateParameterList *>(FriendTypeNumTPLists); in CreateDeserialized()
DCommentSema.cpp317 const TemplateParameterList *TemplateParameters = in actOnTParamCommandParamNameArg()
1020 const TemplateParameterList *TemplateParameters, in ResolveTParamReferenceHelper()
1045 const TemplateParameterList *TemplateParameters, in resolveTParamReference()
1056 const TemplateParameterList *TemplateParameters, in CorrectTypoInTParamReferenceHelper()
1072 const TemplateParameterList *TemplateParameters) { in correctTypoInTParamReference()
/external/clang/include/clang/AST/
DDeclFriend.h42 private llvm::TrailingObjects<FriendDecl, TemplateParameterList *> {
72 ArrayRef<TemplateParameterList*> FriendTypeTPLists) in FriendDecl()
80 getTrailingObjects<TemplateParameterList *>()[i] = FriendTypeTPLists[i]; in FriendDecl()
98 ArrayRef<TemplateParameterList*> FriendTypeTPLists
113 TemplateParameterList *getFriendTypeTemplateParameterList(unsigned N) const { in getFriendTypeTemplateParameterList()
115 return getTrailingObjects<TemplateParameterList *>()[N]; in getFriendTypeTemplateParameterList()
147 : getTrailingObjects<TemplateParameterList *>()[0] in getSourceRange()
DDeclTemplate.h30 class TemplateParameterList; variable
49 class TemplateParameterList final
50 : private llvm::TrailingObjects<TemplateParameterList, NamedDecl *> {
71 TemplateParameterList(SourceLocation TemplateLoc, SourceLocation LAngleLoc,
75 static TemplateParameterList *Create(const ASTContext &C,
151 TemplateParameterList List;
164 TemplateParameterList::totalSizeToAlloc<NamedDecl *>(N) && in FixedSizeTemplateParameterListStorage()
169 TemplateParameterList *get() { return &List; } in get()
341 TemplateParameterList *Params) in TemplateDecl()
347 TemplateParameterList *Params, NamedDecl *Decl) in TemplateDecl()
[all …]
DCommentSema.h239 const TemplateParameterList *TemplateParameters,
244 const TemplateParameterList *TemplateParameters);
/external/llvm-project/clang/include/clang/AST/
DDeclFriend.h55 private llvm::TrailingObjects<FriendDecl, TemplateParameterList *> {
86 ArrayRef<TemplateParameterList *> FriendTypeTPLists) in FriendDecl()
90 getTrailingObjects<TemplateParameterList *>()[i] = FriendTypeTPLists[i]; in FriendDecl()
114 ArrayRef<TemplateParameterList*> FriendTypeTPLists
131 TemplateParameterList *getFriendTypeTemplateParameterList(unsigned N) const { in getFriendTypeTemplateParameterList()
133 return getTrailingObjects<TemplateParameterList *>()[N]; in getFriendTypeTemplateParameterList()
165 : getTrailingObjects<TemplateParameterList *>()[0] in getSourceRange()
DDeclTemplate.h69 class TemplateParameterList final
70 : private llvm::TrailingObjects<TemplateParameterList, NamedDecl *,
94 TemplateParameterList(const ASTContext& C, SourceLocation TemplateLoc,
111 static TemplateParameterList *Create(const ASTContext &C,
214 : public TemplateParameterList::FixedSizeStorageOwner {
215 typename TemplateParameterList::FixedSizeStorage<
230 new (static_cast<void *>(&storage)) TemplateParameterList(C, in FixedSizeTemplateParameterListStorage()
404 TemplateParameterList *Params, NamedDecl *Decl);
409 TemplateParameterList *Params) in TemplateDecl()
417 TemplateParameterList *getTemplateParameters() const { in getTemplateParameters()
[all …]
DODRHash.h32 class TemplateParameterList; variable
87 void AddTemplateParameterList(const TemplateParameterList *TPL);
DExprConcepts.h270 llvm::PointerUnion<TemplateParameterList *, SubstitutionDiagnostic *>,
291 ReturnTypeRequirement(TemplateParameterList *TPL);
315 TypeConstraintInfo.getPointer().is<TemplateParameterList *>(); in isTypeConstraint()
325 TemplateParameterList *getTypeConstraintTemplateParameterList() const { in getTypeConstraintTemplateParameterList()
327 return TypeConstraintInfo.getPointer().get<TemplateParameterList *>(); in getTypeConstraintTemplateParameterList()
DCommentSema.h245 const TemplateParameterList *TemplateParameters,
250 const TemplateParameterList *TemplateParameters);
/external/clang/include/clang/Sema/
DTemplate.h431 TemplateParameterList *TemplateParams,
434 TemplateParameterList *TemplateParams);
493 TemplateParameterList *
494 SubstTemplateParams(TemplateParameterList *List);
DOwnership.h35 class TemplateParameterList; variable
266 typedef MutableArrayRef<TemplateParameterList*> MultiTemplateParamsArg;
DParsedTemplate.h217 SourceRange getTemplateParamsRange(TemplateParameterList const *const *Params,
/external/llvm-project/clang/include/clang/Sema/
DTemplate.h530 TemplateParameterList *TemplateParams,
535 TemplateParameterList *TemplateParams,
594 TemplateParameterList *
595 SubstTemplateParams(TemplateParameterList *List);
DOwnership.h39 class TemplateParameterList; variable
276 using MultiTemplateParamsArg = MutableArrayRef<TemplateParameterList *>;
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp88 TemplateParameterList *TemplateParams,
96 TemplateParameterList *TemplateParams,
106 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams,
375 TemplateParameterList *TemplateParams, in DeduceTemplateArguments()
434 TemplateParameterList *TemplateParams, in DeduceTemplateArguments()
579 PackDeductionScope(Sema &S, TemplateParameterList *TemplateParams, in PackDeductionScope()
724 TemplateParameterList *TemplateParams;
764 TemplateParameterList *TemplateParams, in DeduceTemplateArguments()
940 TemplateParameterList *TemplateParams, in DeduceTemplateArgumentsByTypeMatch()
1677 TemplateParameterList *TemplateParams, in DeduceTemplateArguments()
[all …]
DSemaTemplateInstantiateDecl.cpp564 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitTypeAliasTemplateDecl()
565 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitTypeAliasTemplateDecl()
1043 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitClassTemplateDecl()
1044 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitClassTemplateDecl()
1133 TemplateParameterList *PrevParams in VisitClassTemplateDecl()
1250 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitVarTemplateDecl()
1251 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitVarTemplateDecl()
1332 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitFunctionTemplateDecl()
1333 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitFunctionTemplateDecl()
1484 TemplateParameterList *TemplateParams) { in VisitFunctionDecl()
[all …]
DSemaTemplate.cpp42 clang::getTemplateParamsRange(TemplateParameterList const * const *Ps, in getTemplateParamsRange()
750 TemplateParameterList *Params, in ActOnTemplateTemplateParameter()
824 TemplateParameterList *
836 return TemplateParameterList::Create( in ActOnTemplateParameterList()
852 TemplateParameterList *TemplateParams, in CheckClassTemplate()
856 TemplateParameterList** OuterTemplateParamLists, in CheckClassTemplate()
1266 TemplateParameterList *Params = TTP->getTemplateParameters(); in DiagnoseUnexpandedParameterPacks()
1310 bool Sema::CheckTemplateParameterList(TemplateParameterList *NewParams, in CheckTemplateParameterList()
1311 TemplateParameterList *OldParams, in CheckTemplateParameterList()
1325 TemplateParameterList::iterator OldParam = NewParams->end(); in CheckTemplateParameterList()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaTemplateDeduction.cpp136 TemplateParameterList *TemplateParams,
144 TemplateParameterList *TemplateParams,
155 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams,
387 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument()
440 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument()
454 Sema &S, TemplateParameterList *TemplateParams, in DeduceNullPtrTemplateArgument()
473 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument()
486 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument()
498 TemplateParameterList *TemplateParams, in DeduceTemplateArguments()
561 TemplateParameterList *TemplateParams, in DeduceTemplateArguments()
[all …]
DSemaTemplateInstantiateDecl.cpp910 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitTypeAliasTemplateDecl()
911 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitTypeAliasTemplateDecl()
1422 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitClassTemplateDecl()
1423 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitClassTemplateDecl()
1513 TemplateParameterList *PrevParams in VisitClassTemplateDecl()
1634 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitVarTemplateDecl()
1635 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitVarTemplateDecl()
1716 TemplateParameterList *TempParams = D->getTemplateParameters(); in VisitFunctionTemplateDecl()
1717 TemplateParameterList *InstParams = SubstTemplateParams(TempParams); in VisitFunctionTemplateDecl()
1873 FunctionDecl *D, TemplateParameterList *TemplateParams, in VisitFunctionDecl()
[all …]
DSemaTemplate.cpp44 clang::getTemplateParamsRange(TemplateParameterList const * const *Ps, in getTemplateParamsRange()
1591 TemplateParameterList *Params, in ActOnTemplateTemplateParameter()
1669 TemplateParameterList *
1680 return TemplateParameterList::Create( in ActOnTemplateParameterList()
1695 const ParsedAttributesView &Attr, TemplateParameterList *TemplateParams, in CheckClassTemplate()
1698 TemplateParameterList **OuterTemplateParamLists, SkipBodyInfo *SkipBody) { in CheckClassTemplate()
2144 TemplateParameterList *TemplateParams = Template->getTemplateParameters(); in transformConstructor()
2146 TemplateParameterList *InnerParams = FTD->getTemplateParameters(); in transformConstructor()
2167 TemplateParams = TemplateParameterList::Create( in transformConstructor()
2407 TemplateParameterList *TemplateParams, ExplicitSpecifier ES, in buildDeductionGuide()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMoveForwardingReferenceCheck.cpp114 const TemplateParameterList *Params = FuncTemplate->getTemplateParameters(); in check()

12345