Searched refs:TemplateId (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h200 TemplateIdAnnotation *TemplateId = new (llvm::safe_malloc( local
205 CleanupList.push_back(TemplateId);
206 return TemplateId;
H A DDeclSpec.h1012 TemplateIdAnnotation *TemplateId; member in union:clang::UnqualifiedId::__anon153
1120 /// \param TemplateId the template-id annotation that describes the parsed
1122 /// \p TemplateId and will free it on destruction.
1123 void setConstructorTemplateId(TemplateIdAnnotation *TemplateId);
1142 /// \param TemplateId the template-id annotation that describes the parsed
1144 /// \p TemplateId and will free it on destruction.
1145 void setTemplateId(TemplateIdAnnotation *TemplateId);
H A DSema.h7011 const CXXScopeSpec &SS, TemplateIdAnnotation *TemplateId,
7110 TemplateIdAnnotation &TemplateId, const ParsedAttributesView &Attr,
7387 IdentifierInfo *TypeName, TemplateIdAnnotation *TemplateId);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp1348 TemplateIdAnnotation *TemplateId = TemplateIdAnnotation::Create( local
1352 Tok.setAnnotationValue(TemplateId);
1385 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
1386 assert((TemplateId->Kind == TNK_Type_template ||
1387 TemplateId->Kind == TNK_Dependent_template_name ||
1388 TemplateId->Kind == TNK_Undeclared_template) &&
1391 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(),
1392 TemplateId->NumArgs);
1397 TemplateId->TemplateKWLoc,
1398 TemplateId
[all...]
H A DParseDeclCXX.cpp802 Range = SourceRange(D.Name.TemplateId->LAngleLoc,
803 D.Name.TemplateId->RAngleLoc);
1141 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
1142 if (TemplateId->Kind == TNK_Type_template ||
1143 TemplateId->Kind == TNK_Dependent_template_name ||
1144 TemplateId->Kind == TNK_Undeclared_template) {
1598 TemplateIdAnnotation *TemplateId = nullptr; local
1619 TemplateId = takeTemplateIdAnnotation(Tok);
1622 if (TemplateId->Kind == TNK_Undeclared_template) {
1624 Actions.ActOnUndeclaredTypeTemplateName(getCurScope(), TemplateId
3519 TemplateIdAnnotation *TemplateId = Tok.is(tok::annot_template_id) local
[all...]
H A DParseExprCXX.cpp339 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
346 *LastII = TemplateId->Name;
356 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(),
357 TemplateId->NumArgs);
361 TemplateId->TemplateKWLoc,
362 TemplateId->Template,
363 TemplateId->TemplateNameLoc,
364 TemplateId->LAngleLoc,
366 TemplateId->RAngleLoc,
371 : TemplateId
[all...]
H A DParseTentative.cpp1316 auto IsPlaceholderSpecifier = [&] (TemplateIdAnnotation *TemplateId,
1320 return TemplateId->Kind == TNK_Concept_template &&
1520 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
1523 if (TemplateId->Kind == TNK_Undeclared_template && InvalidAsDeclSpec) {
1531 if (IsPlaceholderSpecifier(TemplateId, /*Lookahead=*/0))
1533 if (TemplateId->Kind != TNK_Type_template)
1548 TemplateIdAnnotation *TemplateId = local
1550 if (IsPlaceholderSpecifier(TemplateId, /*Lookahead=*/1))
H A DParser.cpp1866 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
1867 if (TemplateId->Kind != TNK_Type_template &&
1868 TemplateId->Kind != TNK_Dependent_template_name &&
1869 TemplateId->Kind != TNK_Undeclared_template) {
1875 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(),
1876 TemplateId->NumArgs);
1879 TemplateId->TemplateKWLoc,
1880 TemplateId->Template,
1881 TemplateId->Name,
1882 TemplateId
2004 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
[all...]
H A DParseExpr.cpp1526 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Next); local
1527 if (TemplateId->Kind == TNK_Type_template) {
1547 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
1548 if (TemplateId->Kind == TNK_Type_template) {
H A DParseDecl.cpp3176 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Next); local
3179 TemplateId->Name &&
3180 Actions.isCurrentClassName(*TemplateId->Name, getCurScope(), &SS) &&
3465 TemplateIdAnnotation *TemplateId = takeTemplateIdAnnotation(Tok); local
3466 if (TemplateId->Kind == TNK_Concept_template) {
3472 TemplateId, Policy);
3500 DiagID, TemplateId, Policy);
3503 TemplateId, Policy);
3508 if (TemplateId->Kind != TNK_Type_template &&
3509 TemplateId
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp30 void UnqualifiedId::setTemplateId(TemplateIdAnnotation *TemplateId) { argument
31 assert(TemplateId && "NULL template-id annotation?");
33 this->TemplateId = TemplateId;
34 StartLocation = TemplateId->TemplateNameLoc;
35 EndLocation = TemplateId->RAngleLoc;
38 void UnqualifiedId::setConstructorTemplateId(TemplateIdAnnotation *TemplateId) { argument
39 assert(TemplateId && "NULL template-id annotation?");
41 this->TemplateId = TemplateId;
[all...]
H A DSemaExprCXX.cpp7314 TemplateIdAnnotation *TemplateId = SecondTypeName.TemplateId;
7315 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(),
7316 TemplateId->NumArgs);
7319 TemplateId->TemplateKWLoc,
7320 TemplateId->Template,
7321 TemplateId->Name,
7322 TemplateId->TemplateNameLoc,
7323 TemplateId->LAngleLoc,
7325 TemplateId
[all...]
H A DSemaType.cpp1259 TemplateIdAnnotation *TemplateId = DS.getRepAsTemplateId(); local
1261 TemplateArgsInfo.setLAngleLoc(TemplateId->LAngleLoc);
1262 TemplateArgsInfo.setRAngleLoc(TemplateId->RAngleLoc);
1263 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(),
1264 TemplateId->NumArgs);
1271 cast<ConceptDecl>(TemplateId->Template.get()
3006 TemplateIdAnnotation *TemplateId = D.getDeclSpec().getRepAsTemplateId(); local
3008 if (TemplateId->LAngleLoc.isValid()) {
3009 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId->getTemplateArgs(),
3010 TemplateId
[all...]
H A DSemaTemplate.cpp1089 makeTemplateArgumentListInfo(Sema &S, TemplateIdAnnotation &TemplateId) { argument
1090 TemplateArgumentListInfo TemplateArgs(TemplateId.LAngleLoc,
1091 TemplateId.RAngleLoc);
1092 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId.getTemplateArgs(),
1093 TemplateId.NumArgs);
2845 /// \param TemplateId The template-id following the scope specifier, if there
2867 TemplateIdAnnotation *TemplateId,
3160 if (TemplateId && !IsFriend) {
3163 DiagnoseMissingExplicitSpecialization(SourceRange(TemplateId->LAngleLoc,
3164 TemplateId
2865 MatchTemplateParametersToScopeSpecifier( SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, TemplateIdAnnotation *TemplateId, ArrayRef<TemplateParameterList *> ParamLists, bool IsFriend, bool &IsMemberSpecialization, bool &Invalid, bool SuppressDiagnostic) argument
4100 TemplateIdAnnotation *TemplateId = D.getName().TemplateId; local
7999 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 DSemaDecl.cpp5245 if (!CurClass || CurClass->getIdentifier() != Name.TemplateId->Name)
5274 TemplateName TName = Name.TemplateId->Template.get();
5275 SourceLocation TNameLoc = Name.TemplateId->TemplateNameLoc;
6789 ? D.getName().TemplateId
8763 ? D.getName().TemplateId
9247 TemplateIdAnnotation *TemplateId = D.getName().TemplateId; local
9248 TemplateArgs.setLAngleLoc(TemplateId->LAngleLoc);
9249 TemplateArgs.setRAngleLoc(TemplateId->RAngleLoc);
9250 ASTTemplateArgsPtr TemplateArgsPtr(TemplateId
[all...]
H A DSemaExpr.cpp1981 Buffer.setLAngleLoc(Id.TemplateId->LAngleLoc);
1982 Buffer.setRAngleLoc(Id.TemplateId->RAngleLoc);
1984 ASTTemplateArgsPtr TemplateArgsPtr(Id.TemplateId->getTemplateArgs(),
1985 Id.TemplateId->NumArgs);
1988 TemplateName TName = Id.TemplateId->Template.get();
1989 SourceLocation TNameLoc = Id.TemplateId->TemplateNameLoc;
2509 if (Id.getKind() == UnqualifiedIdKind::IK_TemplateId && Id.TemplateId &&
2510 Id.TemplateId->Kind == TNK_Var_template) {
H A DSemaDeclCXX.cpp11169 << SourceRange(Name.TemplateId->LAngleLoc, Name.TemplateId->RAngleLoc);
17440 Declarator.getCXXScopeSpec(), /*TemplateId=*/nullptr,

Completed in 371 milliseconds