Home
last modified time | relevance | path

Searched refs:PointOfInstantiation (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp237 SourceLocation PointOfInstantiation, SourceRange InstantiationRange, in InstantiatingTemplate() argument
249 Invalid = CheckInstantiationDepth(PointOfInstantiation, InstantiationRange); in InstantiatingTemplate()
253 Inst.PointOfInstantiation = PointOfInstantiation; in InstantiatingTemplate()
271 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument
275 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
278 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument
282 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
285 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateParameter Param, in InstantiatingTemplate() argument
291 PointOfInstantiation, InstantiationRange, getAsNamedDecl(Param), in InstantiatingTemplate()
295 Sema &SemaRef, SourceLocation PointOfInstantiation, in InstantiatingTemplate() argument
[all …]
DSemaTemplateInstantiateDecl.cpp4380 void Sema::InstantiateExceptionSpec(SourceLocation PointOfInstantiation, in InstantiateExceptionSpec() argument
4386 InstantiatingTemplate Inst(*this, PointOfInstantiation, Decl, in InstantiateExceptionSpec()
4397 Diag(PointOfInstantiation, diag::err_exception_spec_cycle) << Decl; in InstantiateExceptionSpec()
4426 SourceLocation PointOfInstantiation, FunctionDecl *Decl, in CheckInstantiatedFunctionTemplateConstraints() argument
4469 PointOfInstantiation, Satisfaction); in CheckInstantiatedFunctionTemplateConstraints()
4648 void Sema::InstantiateFunctionDefinition(SourceLocation PointOfInstantiation, in InstantiateFunctionDefinition() argument
4692 if (DiagnoseUninstantiableTemplate(PointOfInstantiation, Function, in InstantiateFunctionDefinition()
4704 std::make_pair(Function, PointOfInstantiation)); in InstantiateFunctionDefinition()
4708 Diag(PointOfInstantiation, diag::warn_func_template_missing) in InstantiateFunctionDefinition()
4712 Diag(PointOfInstantiation, diag::note_inst_declaration_hint) in InstantiateFunctionDefinition()
[all …]
DSemaTemplate.cpp783 bool Sema::DiagnoseUninstantiableTemplate(SourceLocation PointOfInstantiation, in DiagnoseUninstantiableTemplate() argument
804 diagnoseMissingImport(PointOfInstantiation, SuggestedDef, in DiagnoseUninstantiableTemplate()
819 Diag(PointOfInstantiation, in DiagnoseUninstantiableTemplate()
828 Diag(PointOfInstantiation, in DiagnoseUninstantiableTemplate()
835 Diag(PointOfInstantiation, in DiagnoseUninstantiableTemplate()
842 Diag(PointOfInstantiation, in DiagnoseUninstantiableTemplate()
847 Diag(PointOfInstantiation, diag::err_template_instantiate_undefined) in DiagnoseUninstantiableTemplate()
854 Diag(PointOfInstantiation, in DiagnoseUninstantiableTemplate()
859 Diag(PointOfInstantiation, in DiagnoseUninstantiableTemplate()
4506 SourceLocation PointOfInstantiation = TemplateNameLoc; in CheckVarTemplateId() local
[all …]
DSemaExpr.cpp16892 SourceLocation PointOfInstantiation = Func->getPointOfInstantiation(); in MarkFunctionReferenced() local
16893 bool FirstInstantiation = PointOfInstantiation.isInvalid(); in MarkFunctionReferenced()
16895 PointOfInstantiation = Loc; in MarkFunctionReferenced()
16900 Func->setTemplateSpecializationKind(TSK, PointOfInstantiation); in MarkFunctionReferenced()
16905 PointOfInstantiation = Loc; in MarkFunctionReferenced()
16914 std::make_pair(Func, PointOfInstantiation)); in MarkFunctionReferenced()
16919 InstantiateFunctionDefinition(PointOfInstantiation, Func); in MarkFunctionReferenced()
16923 std::make_pair(Func, PointOfInstantiation)); in MarkFunctionReferenced()
18137 SourceLocation PointOfInstantiation = in DoMarkVarDeclReferenced() local
18139 bool FirstInstantiation = PointOfInstantiation.isInvalid(); in DoMarkVarDeclReferenced()
[all …]
DSemaType.cpp8324 SourceLocation PointOfInstantiation = E->getExprLoc(); in completeExprArrayBound() local
8325 runWithSufficientStackSpace(PointOfInstantiation, [&] { in completeExprArrayBound()
8326 InstantiateVariableDefinition(PointOfInstantiation, Var); in completeExprArrayBound()
8340 Var->getTemplateSpecializationKind(), PointOfInstantiation); in completeExprArrayBound()
8629 TempInst.PointOfInstantiation = Loc; in RequireCompleteTypeImpl()
DSemaDeclCXX.cpp1135 Ctx.PointOfInstantiation = BD->getLocation(); in InitializingBinding()
5875 Ctx.PointOfInstantiation = AttrLoc; in ReferenceDllExportedMembers()
7143 Ctx.PointOfInstantiation = Loc; in ComputingExceptionSpec()
8499 Ctx.PointOfInstantiation = Spaceship->getEndLoc(); in DeclareImplicitEqualityComparison()
12909 Ctx.PointOfInstantiation = RD->getLocation(); in DeclaringSpecialMember()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp206 SourceLocation PointOfInstantiation, SourceRange InstantiationRange, in InstantiatingTemplate() argument
217 Invalid = CheckInstantiationDepth(PointOfInstantiation, InstantiationRange); in InstantiatingTemplate()
221 Inst.PointOfInstantiation = PointOfInstantiation; in InstantiatingTemplate()
236 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate() argument
240 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
243 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, in InstantiatingTemplate() argument
247 PointOfInstantiation, InstantiationRange, Entity) {} in InstantiatingTemplate()
250 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, in InstantiatingTemplate() argument
255 PointOfInstantiation, InstantiationRange, Template, nullptr, in InstantiatingTemplate()
259 Sema &SemaRef, SourceLocation PointOfInstantiation, in InstantiatingTemplate() argument
[all …]
DSemaTemplateInstantiateDecl.cpp3351 void Sema::InstantiateExceptionSpec(SourceLocation PointOfInstantiation, in InstantiateExceptionSpec() argument
3357 InstantiatingTemplate Inst(*this, PointOfInstantiation, Decl, in InstantiateExceptionSpec()
3504 void Sema::InstantiateFunctionDefinition(SourceLocation PointOfInstantiation, in InstantiateFunctionDefinition() argument
3534 std::make_pair(Function, PointOfInstantiation)); in InstantiateFunctionDefinition()
3569 Diag(PointOfInstantiation, in InstantiateFunctionDefinition()
3573 Diag(PointOfInstantiation, in InstantiateFunctionDefinition()
3585 std::make_pair(Function, PointOfInstantiation)); in InstantiateFunctionDefinition()
3589 Diag(PointOfInstantiation, diag::warn_func_template_missing) in InstantiateFunctionDefinition()
3593 Diag(PointOfInstantiation, diag::note_inst_declaration_hint) in InstantiateFunctionDefinition()
3623 InstantiatingTemplate Inst(*this, PointOfInstantiation, Function); in InstantiateFunctionDefinition()
[all …]
DSemaTemplate.cpp2790 SourceLocation PointOfInstantiation = TemplateNameLoc; in CheckVarTemplateId() local
2791 TemplateSpecCandidateSet FailedCandidates(PointOfInstantiation, in CheckVarTemplateId()
2847 PointOfInstantiation) == in CheckVarTemplateId()
2859 PointOfInstantiation) != Best->Partial) { in CheckVarTemplateId()
2889 Diag(PointOfInstantiation, diag::err_partial_spec_ordering_ambiguous) in CheckVarTemplateId()
6598 NamedDecl* D, SourceLocation PointOfInstantiation) { in DiagLocForExplicitInstantiation() argument
6602 SourceLocation PrevDiagLoc = PointOfInstantiation; in DiagLocForExplicitInstantiation()
DSemaType.cpp6732 SourceLocation PointOfInstantiation = E->getExprLoc(); in completeExprArrayBound() local
6738 MSInfo->setPointOfInstantiation(PointOfInstantiation); in completeExprArrayBound()
6749 VarSpec->setPointOfInstantiation(PointOfInstantiation); in completeExprArrayBound()
6752 InstantiateVariableDefinition(PointOfInstantiation, Var); in completeExprArrayBound()
DSemaExpr.cpp13071 SourceLocation PointOfInstantiation = Loc; in MarkFunctionReferenced() local
13079 PointOfInstantiation = SpecInfo->getPointOfInstantiation(); in MarkFunctionReferenced()
13088 PointOfInstantiation = MSInfo->getPointOfInstantiation(); in MarkFunctionReferenced()
13097 std::make_pair(Func, PointOfInstantiation)); in MarkFunctionReferenced()
13102 InstantiateFunctionDefinition(PointOfInstantiation, Func); in MarkFunctionReferenced()
13105 PointOfInstantiation)); in MarkFunctionReferenced()
13939 SourceLocation PointOfInstantiation = Var->getPointOfInstantiation(); in DoMarkVarDeclReferenced() local
13951 SemaRef.InstantiateVariableDefinition(PointOfInstantiation, Var); in DoMarkVarDeclReferenced()
13954 .push_back(std::make_pair(Var, PointOfInstantiation)); in DoMarkVarDeclReferenced()
/external/clang/include/clang/AST/
DDeclTemplate.h410 PointOfInstantiation(POI) { } in FunctionTemplateSpecializationInfo()
439 SourceLocation PointOfInstantiation; variable
474 return PointOfInstantiation; in getPointOfInstantiation()
480 PointOfInstantiation = POI; in setPointOfInstantiation()
506 SourceLocation PointOfInstantiation; variable
512 : MemberAndTSK(IF, TSK - 1), PointOfInstantiation(POI) {
541 return PointOfInstantiation; in getPointOfInstantiation()
546 PointOfInstantiation = POI; in setPointOfInstantiation()
1570 SourceLocation PointOfInstantiation;
1648 return PointOfInstantiation;
[all …]
DDecl.h1328 SourceLocation PointOfInstantiation = SourceLocation());
1668 SourceLocation PointOfInstantiation);
2232 SourceLocation PointOfInstantiation = SourceLocation()) {
2235 PointOfInstantiation);
2254 SourceLocation PointOfInstantiation = SourceLocation());
3225 SourceLocation PointOfInstantiation = SourceLocation());
DASTContext.h797 SourceLocation PointOfInstantiation = SourceLocation());
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h491 SourceLocation PointOfInstantiation; variable
502 PointOfInstantiation(POI) { in FunctionTemplateSpecializationInfo()
557 return PointOfInstantiation; in getPointOfInstantiation()
563 PointOfInstantiation = POI; in setPointOfInstantiation()
624 SourceLocation PointOfInstantiation; variable
630 : MemberAndTSK(IF, TSK - 1), PointOfInstantiation(POI) {
659 return PointOfInstantiation; in getPointOfInstantiation()
664 PointOfInstantiation = POI; in setPointOfInstantiation()
1839 SourceLocation PointOfInstantiation;
1936 return PointOfInstantiation;
[all …]
DDecl.h1513 SourceLocation PointOfInstantiation = SourceLocation());
1921 SourceLocation PointOfInstantiation);
2707 SourceLocation PointOfInstantiation = SourceLocation()) {
2710 PointOfInstantiation);
2734 SourceLocation PointOfInstantiation = SourceLocation());
3776 SourceLocation PointOfInstantiation = SourceLocation());
DASTContext.h855 SourceLocation PointOfInstantiation = SourceLocation());
/external/clang/lib/AST/
DDecl.cpp2295 SourceLocation PointOfInstantiation) { in setTemplateSpecializationKind() argument
2303 if (TSK != TSK_ExplicitSpecialization && PointOfInstantiation.isValid() && in setTemplateSpecializationKind()
2305 Spec->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
2310 if (TSK != TSK_ExplicitSpecialization && PointOfInstantiation.isValid() && in setTemplateSpecializationKind()
2312 MSI->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3215 SourceLocation PointOfInstantiation) { in setFunctionTemplateSpecialization() argument
3224 PointOfInstantiation); in setFunctionTemplateSpecialization()
3291 SourceLocation PointOfInstantiation) { in setTemplateSpecializationKind() argument
3297 PointOfInstantiation.isValid() && in setTemplateSpecializationKind()
3299 FTSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
[all …]
DASTContext.cpp1173 SourceLocation PointOfInstantiation) { in setInstantiatedFromStaticDataMember() argument
1177 Tmpl, TSK, PointOfInstantiation)); in setInstantiatedFromStaticDataMember()
/external/llvm-project/clang/lib/Frontend/
DFrontendActions.cpp365 std::string PointOfInstantiation; member
377 io.mapRequired("poi", fields.PointOfInstantiation); in mapping()
488 TheSema.getSourceManager().getPresumedLoc(Inst.PointOfInstantiation); in getTemplightEntry()
490 Entry.PointOfInstantiation = std::string(PoiLoc.getFilename()) + ":" + in getTemplightEntry()
/external/llvm-project/clang/lib/AST/
DDecl.cpp2665 SourceLocation PointOfInstantiation) { in setTemplateSpecializationKind() argument
2674 PointOfInstantiation.isValid() && in setTemplateSpecializationKind()
2676 Spec->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
2682 if (TSK != TSK_ExplicitSpecialization && PointOfInstantiation.isValid() && in setTemplateSpecializationKind()
2684 MSI->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3787 SourceLocation PointOfInstantiation) { in setFunctionTemplateSpecialization() argument
3799 PointOfInstantiation, in setFunctionTemplateSpecialization()
3899 SourceLocation PointOfInstantiation) { in setTemplateSpecializationKind() argument
3905 PointOfInstantiation.isValid() && in setTemplateSpecializationKind()
3907 FTSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
[all …]
/external/llvm-project/clang/include/clang/Sema/
DSema.h948 Ctx.PointOfInstantiation = UseLoc; in addContextNote()
7290 bool DiagnoseUninstantiableTemplate(SourceLocation PointOfInstantiation,
8505 SourceLocation PointOfInstantiation; member
8670 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8677 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8683 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8690 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8699 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8708 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
8717 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
[all …]
/external/clang/include/clang/Sema/
DSema.h6649 SourceLocation PointOfInstantiation; member
6822 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6829 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6835 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6842 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6852 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6861 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6869 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6876 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
6884 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation,
[all …]
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1998 D->PointOfInstantiation = ReadSourceLocation(Record, Idx); in VisitClassTemplateSpecializationDeclImpl()
2125 D->PointOfInstantiation = ReadSourceLocation(Record, Idx); in VisitVarTemplateSpecializationDeclImpl()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2178 D->PointOfInstantiation = readSourceLocation(); in VisitClassTemplateSpecializationDeclImpl()
2303 D->PointOfInstantiation = readSourceLocation(); in VisitVarTemplateSpecializationDeclImpl()

12