/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ParsedTemplate.h | 206 TemplateIdAnnotation *TemplateId = new (llvm::safe_malloc( local 211 CleanupList.push_back(TemplateId); 212 return TemplateId;
|
H A D | DeclSpec.h | 1007 TemplateIdAnnotation *TemplateId; member in union:clang::UnqualifiedId::__anon1458 1115 /// \param TemplateId the template-id annotation that describes the parsed 1117 /// \p TemplateId and will free it on destruction. 1118 void setConstructorTemplateId(TemplateIdAnnotation *TemplateId); 1137 /// \param TemplateId the template-id annotation that describes the parsed 1139 /// \p TemplateId and will free it on destruction. 1140 void setTemplateId(TemplateIdAnnotation *TemplateId);
|
H A D | Sema.h | 7270 const CXXScopeSpec &SS, TemplateIdAnnotation *TemplateId, 7369 TemplateIdAnnotation &TemplateId, const ParsedAttributesView &Attr, 7646 IdentifierInfo *TypeName, TemplateIdAnnotation *TemplateId);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 31 void UnqualifiedId::setTemplateId(TemplateIdAnnotation *TemplateId) { argument 32 assert(TemplateId && "NULL template-id annotation?"); 33 assert(!TemplateId->isInvalid() && 37 this->TemplateId = TemplateId; 38 StartLocation = TemplateId->TemplateNameLoc; 39 EndLocation = TemplateId->RAngleLoc; 42 void UnqualifiedId::setConstructorTemplateId(TemplateIdAnnotation *TemplateId) { argument 43 assert(TemplateId && "NULL template-id annotation?"); 44 assert(!TemplateId [all...] |
H A D | SemaExprCXX.cpp | 7460 TemplateIdAnnotation *TemplateId = SecondTypeName.TemplateId; 7461 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(), 7462 TemplateId->NumArgs); 7465 TemplateId->TemplateKWLoc, 7466 TemplateId->Template, 7467 TemplateId->Name, 7468 TemplateId->TemplateNameLoc, 7469 TemplateId->LAngleLoc, 7471 TemplateId [all...] |
H A D | SemaTemplate.cpp | 1095 makeTemplateArgumentListInfo(Sema &S, TemplateIdAnnotation &TemplateId) { argument 1096 TemplateArgumentListInfo TemplateArgs(TemplateId.LAngleLoc, 1097 TemplateId.RAngleLoc); 1098 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId.getTemplateArgs(), 1099 TemplateId.NumArgs); 2890 /// \param TemplateId The template-id following the scope specifier, if there 2912 TemplateIdAnnotation *TemplateId, 3205 if (TemplateId && !IsFriend) { 3208 DiagnoseMissingExplicitSpecialization(SourceRange(TemplateId->LAngleLoc, 3209 TemplateId 2910 MatchTemplateParametersToScopeSpecifier( SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, TemplateIdAnnotation *TemplateId, ArrayRef<TemplateParameterList *> ParamLists, bool IsFriend, bool &IsMemberSpecialization, bool &Invalid, bool SuppressDiagnostic) argument 4148 TemplateIdAnnotation *TemplateId = D.getName().TemplateId; local 8065 ActOnClassTemplateSpecialization( Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, CXXScopeSpec &SS, TemplateIdAnnotation &TemplateId, const ParsedAttributesView &Attr, MultiTemplateParamsArg TemplateParameterLists, SkipBodyInfo *SkipBody) argument [all...] |
H A D | SemaType.cpp | 1260 TemplateIdAnnotation *TemplateId = DS.getRepAsTemplateId(); local 1262 TemplateArgsInfo.setLAngleLoc(TemplateId->LAngleLoc); 1263 TemplateArgsInfo.setRAngleLoc(TemplateId->RAngleLoc); 1264 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(), 1265 TemplateId->NumArgs); 1272 cast<ConceptDecl>(TemplateId->Template.get() 3151 TemplateIdAnnotation *TemplateId = D.getDeclSpec().getRepAsTemplateId(); local 3153 if (TemplateId->LAngleLoc.isValid()) { 3154 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(), 3155 TemplateId [all...] |
H A D | SemaDecl.cpp | 5381 if (!CurClass || CurClass->getIdentifier() != Name.TemplateId->Name) 5410 TemplateName TName = Name.TemplateId->Template.get(); 5411 SourceLocation TNameLoc = Name.TemplateId->TemplateNameLoc; 6948 ? D.getName().TemplateId 8907 ? D.getName().TemplateId 9405 TemplateIdAnnotation *TemplateId = D.getName().TemplateId; local 9406 TemplateArgs.setLAngleLoc(TemplateId->LAngleLoc); 9407 TemplateArgs.setRAngleLoc(TemplateId->RAngleLoc); 9408 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId [all...] |
H A D | SemaExpr.cpp | 2014 Buffer.setLAngleLoc(Id.TemplateId->LAngleLoc); 2015 Buffer.setRAngleLoc(Id.TemplateId->RAngleLoc); 2017 ASTTemplateArgsPtr TemplateArgsPtr(Id.TemplateId->getTemplateArgs(), 2018 Id.TemplateId->NumArgs); 2021 TemplateName TName = Id.TemplateId->Template.get(); 2022 SourceLocation TNameLoc = Id.TemplateId->TemplateNameLoc; 2542 if (Id.getKind() == UnqualifiedIdKind::IK_TemplateId && Id.TemplateId && 2543 Id.TemplateId->Kind == TNK_Var_template) {
|
H A D | SemaDeclCXX.cpp | 11465 << SourceRange(Name.TemplateId->LAngleLoc, Name.TemplateId->RAngleLoc); 17762 Declarator.getCXXScopeSpec(), /*TemplateId=*/nullptr,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 1357 TemplateIdAnnotation *TemplateId = TemplateIdAnnotation::Create( 1361 Tok.setAnnotationValue(TemplateId); 1394 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); 1395 assert(TemplateId->mightBeType() && 1398 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(), 1399 TemplateId->NumArgs); 1402 TemplateId->isInvalid() 1405 getCurScope(), SS, TemplateId->TemplateKWLoc, 1406 TemplateId->Template, TemplateId [all...] |
H A D | ParseDeclCXX.cpp | 808 Range = SourceRange(D.Name.TemplateId->LAngleLoc, 809 D.Name.TemplateId->RAngleLoc); 1149 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local 1150 if (TemplateId->mightBeType()) { 1599 TemplateIdAnnotation *TemplateId = nullptr; local 1620 TemplateId = takeTemplateIdAnnotation(Tok); 1623 if (TemplateId->Kind == TNK_Undeclared_template) { 1626 getCurScope(), TemplateId->Template, TemplateId->Kind, NameLoc, Name); 1627 if (TemplateId 3541 TemplateIdAnnotation *TemplateId = Tok.is(tok::annot_template_id) local [all...] |
H A D | ParseExprCXX.cpp | 338 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local 345 *LastII = TemplateId->Name; 355 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(), 356 TemplateId->NumArgs); 358 if (TemplateId->isInvalid() || 361 TemplateId->TemplateKWLoc, 362 TemplateId->Template, 363 TemplateId->TemplateNameLoc, 364 TemplateId->LAngleLoc, 366 TemplateId [all...] |
H A D | ParseTentative.cpp | 1249 auto IsPlaceholderSpecifier = [&] (TemplateIdAnnotation *TemplateId, 1253 return TemplateId->Kind == TNK_Concept_template && 1462 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local 1465 if ((TemplateId->hasInvalidName() || 1466 TemplateId->Kind == TNK_Undeclared_template) && 1475 if (TemplateId->hasInvalidName()) 1477 if (IsPlaceholderSpecifier(TemplateId, /*Lookahead=*/0)) 1479 if (TemplateId->Kind != TNK_Type_template) 1494 TemplateIdAnnotation *TemplateId = local 1496 if (TemplateId [all...] |
H A D | Parser.cpp | 1870 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local 1871 if (!TemplateId->mightBeType()) { 1877 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(), 1878 TemplateId->NumArgs); 1880 Ty = TemplateId->isInvalid() 1883 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, 1884 TemplateId->Template, TemplateId->Name, 1885 TemplateId->TemplateNameLoc, TemplateId 2007 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local [all...] |
H A D | ParseDecl.cpp | 3043 TemplateIdAnnotation *TemplateId = Next.is(tok::annot_template_id) local 3046 if (TemplateId && TemplateId->hasInvalidName()) { 3054 if (TemplateId && TemplateId->Kind == TNK_Type_template) { 3066 TemplateId->Name && 3067 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS) && 3084 if (TemplateId && TemplateId->Kind == TNK_Concept_template && 3337 TemplateIdAnnotation *TemplateId local 5128 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local 5138 TemplateIdAnnotation *TemplateId = local [all...] |
H A D | ParseExpr.cpp | 1593 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Next); local 1594 if (TemplateId->Kind == TNK_Type_template) { 1615 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local 1616 if (TemplateId->Kind == TNK_Type_template) {
|