Home
last modified time | relevance | path

Searched refs:TemplateKWLoc (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/lib/AST/
DExprCXX.cpp289 SourceLocation TemplateKWLoc, in Create() argument
296 assert(Args || TemplateKWLoc.isValid()); in Create()
301 TemplateKWLoc, NameInfo, in Create()
322 SourceLocation TemplateKWLoc, in OverloadExpr() argument
344 TemplateKWLoc.isValid()) { in OverloadExpr()
370 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in OverloadExpr()
383 } else if (TemplateKWLoc.isValid()) { in OverloadExpr()
384 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in OverloadExpr()
415 SourceLocation TemplateKWLoc, in DependentScopeDeclRefExpr() argument
428 HasTemplateKWAndArgsInfo(Args != nullptr || TemplateKWLoc.isValid()) in DependentScopeDeclRefExpr()
[all …]
DTemplateBase.cpp581 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument
584 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
589 ::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument
596 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
600 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
602 assert(TemplateKWLoc.isValid()); in initializeFrom()
606 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
DExpr.cpp324 SourceLocation TemplateKWLoc, in DeclRefExpr() argument
345 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr()
352 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in DeclRefExpr()
359 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr()
360 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in DeclRefExpr()
369 SourceLocation TemplateKWLoc, in Create() argument
377 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
385 SourceLocation TemplateKWLoc, in Create() argument
404 else if (TemplateKWLoc.isValid()) in Create()
408 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
DNestedNameSpecifier.cpp534 SourceLocation TemplateKWLoc, in Extend() argument
538 TemplateKWLoc.isValid(), in Extend()
/external/clang/lib/Sema/
DSemaExprMember.cpp238 SourceLocation TemplateKWLoc, in BuildPossibleImplicitMemberExpr() argument
243 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true); in BuildPossibleImplicitMemberExpr()
248 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false); in BuildPossibleImplicitMemberExpr()
258 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr()
259 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr()
447 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
479 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr()
695 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
704 SS, TemplateKWLoc, FirstQualifierInScope, in BuildMemberReferenceExpr()
744 OpLoc, IsArrow, SS, TemplateKWLoc, in BuildMemberReferenceExpr()
[all …]
DSemaTemplate.cpp409 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument
426 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc, in ActOnDependentIdExpression()
430 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression()
435 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument
439 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr()
2173 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument
2200 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2218 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2243 SourceLocation TemplateKWLoc, in ActOnTagTemplateIdType() argument
2272 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
[all …]
DSemaCXXScopeSpec.cpp857 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
888 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
895 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
932 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
940 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
DTreeTransform.h1849 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
1892 SS, TemplateKWLoc, in RebuildMemberExpr()
2395 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument
2403 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
2404 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo, in RebuildDependentScopeDeclRefExpr()
2416 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument
2420 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL, in RebuildTemplateIdExpr()
2490 SourceLocation TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr() argument
2499 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr()
2513 SourceLocation TemplateKWLoc, in RebuildUnresolvedMemberExpr() argument
[all …]
DSemaStmtAsm.cpp498 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument
508 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
DDeclSpec.cpp57 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument
59 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
/external/clang/include/clang/AST/
DTemplateBase.h624 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { in setTemplateKeywordLoc()
626 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc; in setTemplateKeywordLoc()
630 Create(ASTContext &C, SourceLocation TemplateKWLoc,
633 void initializeFrom(SourceLocation TemplateKWLoc,
635 void initializeFrom(SourceLocation TemplateKWLoc,
639 void initializeFrom(SourceLocation TemplateKWLoc);
DTypeLoc.h1355 SourceLocation TemplateKWLoc; member
1367 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1370 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
1746 SourceLocation TemplateKWLoc; member
1790 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1793 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
DExprCXX.h2331 SourceLocation TemplateKWLoc,
2517 SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument
2522 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc, in UnresolvedLookupExpr()
2551 SourceLocation TemplateKWLoc,
2631 SourceLocation TemplateKWLoc,
2638 SourceLocation TemplateKWLoc,
3004 SourceLocation TemplateKWLoc,
3020 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
3231 SourceLocation TemplateKWLoc,
3248 SourceLocation TemplateKWLoc,
DNestedNameSpecifier.h388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
/external/clang/lib/Parse/
DParseExprCXX.cpp315 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
359 SS, TemplateKWLoc, TemplateName, in ParseOptionalCXXScopeSpecifier()
362 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc, in ParseOptionalCXXScopeSpecifier()
401 TemplateId->TemplateKWLoc, in ParseOptionalCXXScopeSpecifier()
594 SourceLocation TemplateKWLoc; in tryParseCXXIdExpression() local
600 /*ObjectType=*/ParsedType(), TemplateKWLoc, Name)) in tryParseCXXIdExpression()
608 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name, in tryParseCXXIdExpression()
1939 SourceLocation TemplateKWLoc, in ParseUnqualifiedIdTemplateId() argument
1956 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc, in ParseUnqualifiedIdTemplateId()
1964 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId()
[all …]
DParseTemplate.cpp930 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
961 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc, in AnnotateTemplateIdToken()
975 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
976 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
994 TemplateId->TemplateKWLoc = TemplateKWLoc; in AnnotateTemplateIdToken()
1003 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1004 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1037 TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1087 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1103 SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
DParseOpenMP.cpp301 SourceLocation TemplateKWLoc; in ParseOpenMPSimpleVarList() local
313 TemplateKWLoc, Name)) { in ParseOpenMPSimpleVarList()
607 SourceLocation TemplateKWLoc; in ParseReductionId() local
648 TemplateKWLoc, ReductionId); in ParseReductionId()
DParseStmtAsm.cpp216 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local
223 /*ObjectType=*/ParsedType(), TemplateKWLoc, Id); in ParseMSAsmIdentifier()
258 return Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info, in ParseMSAsmIdentifier()
DParseExpr.cpp921 SourceLocation TemplateKWLoc; in ParseCastExpression() local
929 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
1545 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
1564 ObjectType, TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix()
1571 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
DParser.cpp1546 TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
1801 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
1803 TemplateKWLoc, Result.Name)) { in ParseMicrosoftIfExistsCondition()
DParseDeclCXX.cpp525 SourceLocation TemplateKWLoc; in ParseUsingDeclaration() local
549 TemplateKWLoc, Name)) { in ParseUsingDeclaration()
1591 TemplateId->TemplateKWLoc, in ParseClassSpecifier()
2248 SourceLocation TemplateKWLoc; in ParseCXXClassMemberDeclaration() local
2251 TemplateKWLoc, Name)) { in ParseCXXClassMemberDeclaration()
/external/clang/include/clang/Sema/
DParsedTemplate.h147 SourceLocation TemplateKWLoc; member
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/
DParser.h2321 SourceLocation TemplateKWLoc,
2393 SourceLocation& TemplateKWLoc,
2448 SourceLocation TemplateKWLoc,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo() local
118 Args.initializeFrom(TemplateKWLoc, ArgInfo); in ReadTemplateKWAndArgsInfo()
2468 SourceLocation TemplateKWLoc; in ReadStmtFromStream() local
2472 TemplateKWLoc = ReadSourceLocation(F, Record, Idx); in ReadStmtFromStream()
2497 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()

12