Searched refs:TemplateKWLoc (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/lib/AST/
H A DExprCXX.cpp289 SourceLocation TemplateKWLoc,
296 assert(Args || TemplateKWLoc.isValid());
301 TemplateKWLoc, NameInfo,
322 SourceLocation TemplateKWLoc,
344 TemplateKWLoc.isValid()) {
370 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs,
383 } else if (TemplateKWLoc.isValid()) {
384 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc);
415 SourceLocation TemplateKWLoc,
428 HasTemplateKWAndArgsInfo(Args != nullptr || TemplateKWLoc
286 Create(const ASTContext &C, CXXRecordDecl *NamingClass, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, bool ADL, const TemplateArgumentListInfo *Args, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
320 OverloadExpr(StmtClass K, const ASTContext &C, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End, bool KnownDependent, bool KnownInstantiationDependent, bool KnownContainsUnexpandedParameterPack) argument
413 DependentScopeDeclRefExpr(QualType T, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args) argument
446 Create(const ASTContext &C, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args) argument
1189 CXXDependentScopeMemberExpr(const ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1247 Create(const ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1322 UnresolvedMemberExpr(const ASTContext &C, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1360 Create(const ASTContext &C, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
[all...]
H A DExpr.cpp324 SourceLocation TemplateKWLoc,
345 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0;
352 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs,
359 } else if (TemplateKWLoc.isValid()) {
360 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc);
369 SourceLocation TemplateKWLoc,
377 return Create(Context, QualifierLoc, TemplateKWLoc, D,
385 SourceLocation TemplateKWLoc,
404 else if (TemplateKWLoc.isValid())
408 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc,
322 DeclRefExpr(const ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingVariableOrCapture, const DeclarationNameInfo &NameInfo, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs, QualType T, ExprValueKind VK) argument
367 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingVariableOrCapture, SourceLocation NameLoc, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
383 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingVariableOrCapture, const DeclarationNameInfo &NameInfo, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
1379 Create( const ASTContext &C, Expr *base, bool isarrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *memberdecl, DeclAccessPair founddecl, DeclarationNameInfo nameinfo, const TemplateArgumentListInfo *targs, QualType ty, ExprValueKind vk, ExprObjectKind ok) argument
[all...]
H A DNestedNameSpecifier.cpp534 SourceLocation TemplateKWLoc,
538 TemplateKWLoc.isValid(),
533 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
/external/clang/include/clang/AST/
H A DTemplateBase.h624 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { argument
626 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc;
630 Create(ASTContext &C, SourceLocation TemplateKWLoc,
633 void initializeFrom(SourceLocation TemplateKWLoc,
635 void initializeFrom(SourceLocation TemplateKWLoc,
639 void initializeFrom(SourceLocation TemplateKWLoc);
H A DTypeLoc.h1355 SourceLocation TemplateKWLoc;
1367 return getLocalData()->TemplateKWLoc;
1370 getLocalData()->TemplateKWLoc = Loc;
1746 SourceLocation TemplateKWLoc;
1790 return getLocalData()->TemplateKWLoc;
1793 getLocalData()->TemplateKWLoc = Loc;
H A DNestedNameSpecifier.h383 /// \param TemplateKWLoc The location of the 'template' keyword, if present.
388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
H A DExprCXX.h2331 SourceLocation TemplateKWLoc,
2517 SourceLocation TemplateKWLoc,
2522 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc,
2551 SourceLocation TemplateKWLoc,
2631 SourceLocation TemplateKWLoc,
2638 SourceLocation TemplateKWLoc,
3004 SourceLocation TemplateKWLoc,
3020 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
3231 SourceLocation TemplateKWLoc,
3248 SourceLocation TemplateKWLoc,
[all...]
H A DExpr.h940 SourceLocation TemplateKWLoc,
972 SourceLocation TemplateKWLoc, ValueDecl *D,
979 SourceLocation TemplateKWLoc, ValueDecl *D,
2396 SourceLocation TemplateKWLoc, ValueDecl *memberdecl,
/external/clang/lib/Sema/
H A DSemaExprMember.cpp238 SourceLocation TemplateKWLoc,
243 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true);
248 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false);
258 if (TemplateArgs || TemplateKWLoc.isValid())
259 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs);
447 SourceLocation TemplateKWLoc,
479 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope,
695 SourceLocation TemplateKWLoc,
704 SS, TemplateKWLoc, FirstQualifierInScope,
744 OpLoc, IsArrow, SS, TemplateKWLoc,
237 BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
444 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
692 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, ActOnMemberAccessExtraArgs *ExtraArgs) argument
883 BuildMemberExpr( Sema &SemaRef, ASTContext &C, Expr *Base, bool isArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs = nullptr) argument
898 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1619 ActOnMemberAccessExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, Decl *ObjCImpDecl) argument
1733 BuildImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool IsKnownInstance) argument
[all...]
H A DSemaTemplate.cpp409 SourceLocation TemplateKWLoc,
426 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc,
430 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs);
435 SourceLocation TemplateKWLoc,
439 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo,
2173 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, argument
2200 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
2218 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
2243 SourceLocation TemplateKWLoc,
2272 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
408 ActOnDependentIdExpression(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, bool isAddressOfOperand, const TemplateArgumentListInfo *TemplateArgs) argument
434 BuildDependentDeclRefExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2239 ActOnTagTemplateIdType(TagUseKind TUK, TypeSpecifierType TagSpec, SourceLocation TagLoc, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy TemplateD, SourceLocation TemplateLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc) argument
2416 ActOnVarTemplateSpecialization( Scope *S, Declarator &D, TypeSourceInfo *DI, SourceLocation TemplateKWLoc, TemplateParameterList *TemplateParams, StorageClass SC, bool IsPartialSpecialization) argument
2841 BuildTemplateIdExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, bool RequiresADL, const TemplateArgumentListInfo *TemplateArgs) argument
2886 BuildQualifiedTemplateIdExpr(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2930 ActOnDependentTemplateName(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Name, ParsedType ObjectType, bool EnteringContext, TemplateTy &Result) argument
3494 SourceLocation TemplateKWLoc; local
6067 SourceLocation TemplateKWLoc = TemplateParameterLists.size() > 0 local
7920 ActOnTypenameType(Scope *S, SourceLocation TypenameLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy TemplateIn, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc) argument
[all...]
H A DSemaCXXScopeSpec.cpp857 SourceLocation TemplateKWLoc,
888 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
895 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T),
932 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
940 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T),
855 ActOnCXXNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy Template, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc, SourceLocation CCLoc, bool EnteringContext) argument
H A DSemaStmtAsm.cpp498 SourceLocation TemplateKWLoc,
508 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id,
497 LookupInlineAsmIdentifier(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, llvm::InlineAsmIdentifierInfo &Info, bool IsUnevaluatedContext) argument
H A DTreeTransform.h1849 SourceLocation TemplateKWLoc,
1892 SS, TemplateKWLoc,
2395 SourceLocation TemplateKWLoc,
2403 if (TemplateArgs || TemplateKWLoc.isValid())
2404 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo,
2416 SourceLocation TemplateKWLoc,
2420 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL,
2490 SourceLocation TemplateKWLoc,
2499 SS, TemplateKWLoc,
2513 SourceLocation TemplateKWLoc,
1846 RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, bool isArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, ValueDecl *Member, NamedDecl *FoundDecl, const TemplateArgumentListInfo *ExplicitTemplateArgs, NamedDecl *FirstQualifierInScope) argument
2393 RebuildDependentScopeDeclRefExpr( NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, bool IsAddressOfOperand, TypeSourceInfo **RecoveryTSI) argument
2415 RebuildTemplateIdExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, bool RequiresADL, const TemplateArgumentListInfo *TemplateArgs) argument
2485 RebuildCXXDependentScopeMemberExpr(Expr *BaseE, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2509 RebuildUnresolvedMemberExpr(Expr *BaseE, QualType BaseType, SourceLocation OperatorLoc, bool IsArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
7642 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); local
8743 SourceLocation TemplateKWLoc = Old->getTemplateKeywordLoc(); local
9453 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); local
9530 SourceLocation TemplateKWLoc = Old->getTemplateKeywordLoc(); local
10611 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
10630 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
10799 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
[all...]
H A DDeclSpec.cpp57 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, argument
59 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc);
/external/clang/lib/Parse/
H A DParseTemplate.cpp913 /// \param TemplateKWLoc if valid, specifies that this template-id
930 SourceLocation TemplateKWLoc,
961 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc,
975 else if (TemplateKWLoc.isValid())
976 Tok.setLocation(TemplateKWLoc);
994 TemplateId->TemplateKWLoc = TemplateKWLoc;
1003 if (TemplateKWLoc.isValid())
1004 Tok.setLocation(TemplateKWLoc);
1037 TemplateId->TemplateKWLoc,
928 AnnotateTemplateIdToken(TemplateTy Template, TemplateNameKind TNK, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &TemplateName, bool AllowTypeAnnotation) argument
1087 SourceLocation TemplateKWLoc = ConsumeToken(); local
[all...]
H A DParseExprCXX.cpp315 SourceLocation TemplateKWLoc = ConsumeToken(); local
359 SS, TemplateKWLoc, TemplateName,
362 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc,
401 TemplateId->TemplateKWLoc,
594 SourceLocation TemplateKWLoc; local
600 /*ObjectType=*/ParsedType(), TemplateKWLoc, Name))
608 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name,
1477 // FIXME: retrieve TemplateKWLoc from template-id annotation and
1939 SourceLocation TemplateKWLoc,
1956 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc,
1938 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
2374 ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, bool AllowDestructorName, bool AllowConstructorName, ParsedType ObjectType, SourceLocation& TemplateKWLoc, UnqualifiedId &Result) argument
[all...]
H A DParseOpenMP.cpp301 SourceLocation TemplateKWLoc; local
313 TemplateKWLoc, Name)) {
607 SourceLocation TemplateKWLoc; local
648 TemplateKWLoc, ReductionId);
H A DParseStmtAsm.cpp216 SourceLocation TemplateKWLoc; local
223 /*ObjectType=*/ParsedType(), TemplateKWLoc, Id);
258 return Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info,
H A DParseExpr.cpp921 SourceLocation TemplateKWLoc; local
929 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren),
1545 SourceLocation TemplateKWLoc; local
1564 ObjectType, TemplateKWLoc, Name)) {
1571 OpKind, SS, TemplateKWLoc, Name,
H A DParser.cpp1546 TemplateId->TemplateKWLoc,
1801 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. local
1803 TemplateKWLoc, Result.Name)) {
H A DParseDeclCXX.cpp525 SourceLocation TemplateKWLoc; local
549 TemplateKWLoc, Name)) {
1591 TemplateId->TemplateKWLoc,
2248 SourceLocation TemplateKWLoc; local
2251 TemplateKWLoc, Name)) {
/external/clang/include/clang/Sema/
H A DParsedTemplate.h145 /// TemplateKWLoc - The location of the template keyword within the
147 SourceLocation TemplateKWLoc; member in struct:clang::TemplateIdAnnotation
H A DSema.h3180 SourceLocation TemplateKWLoc,
3438 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3459 SourceLocation TemplateKWLoc,
3484 SourceLocation TemplateKWLoc,
3488 SourceLocation TemplateKWLoc,
3501 SourceLocation TemplateKWLoc,
3609 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3617 SourceLocation TemplateKWLoc,
3632 SourceLocation TemplateKWLoc,
3641 SourceLocation TemplateKWLoc,
[all...]
/external/clang/include/clang/Parse/
H A DParser.h2321 SourceLocation TemplateKWLoc,
2393 SourceLocation& TemplateKWLoc,
2448 SourceLocation TemplateKWLoc,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); local
118 Args.initializeFrom(TemplateKWLoc, ArgInfo);
2468 SourceLocation TemplateKWLoc; local
2472 TemplateKWLoc = ReadSourceLocation(F, Record, Idx);
2497 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo,

Completed in 548 milliseconds

12