Home
last modified time | relevance | path

Searched refs:LAngleLoc (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h179 SourceLocation LAngleLoc; member
201 SourceLocation LAngleLoc, SourceLocation RAngleLoc, in Create()
208 LAngleLoc, RAngleLoc, TemplateArgs, ArgsInvalid); in Create()
243 SourceLocation LAngleLoc, SourceLocation RAngleLoc, in TemplateIdAnnotation()
248 Kind(TemplateKind), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateIdAnnotation()
H A DSemaCodeCompletion.h147 TemplateTy, ArrayRef<ParsedTemplateArgument>, SourceLocation LAngleLoc);
H A DSema.h3380 SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgs,
9095 SourceLocation LAngleLoc,
11490 SourceLocation LAngleLoc, ArrayRef<NamedDecl *> Params,
11613 SourceLocation TemplateIILoc, SourceLocation LAngleLoc,
11624 SourceLocation TemplateLoc, SourceLocation LAngleLoc,
11822 SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgs,
12169 SourceLocation TemplateIILoc, SourceLocation LAngleLoc,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h640 SourceLocation LAngleLoc;
646 TemplateArgumentListInfo(SourceLocation LAngleLoc, SourceLocation RAngleLoc)
647 : LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc) {}
653 SourceLocation getLAngleLoc() const { return LAngleLoc; }
656 void setLAngleLoc(SourceLocation Loc) { LAngleLoc = Loc; }
694 SourceLocation LAngleLoc;
702 SourceLocation getLAngleLoc() const { return LAngleLoc; }
736 SourceLocation LAngleLoc;
H A DTypeLoc.h1705 SourceLocation LAngleLoc; member
1724 return getLocalData()->LAngleLoc; in getLAngleLoc()
1728 getLocalData()->LAngleLoc = Loc; in setLAngleLoc()
2501 SourceLocation LAngleLoc; member
2562 return this->getLocalData()->LAngleLoc; in getLAngleLoc()
2566 this->getLocalData()->LAngleLoc = Loc; in setLAngleLoc()
H A DDeclTemplate.h81 SourceLocation LAngleLoc, RAngleLoc; variable
103 SourceLocation LAngleLoc, ArrayRef<NamedDecl *> Params,
121 SourceLocation LAngleLoc,
205 SourceLocation getLAngleLoc() const { return LAngleLoc; } in getLAngleLoc()
236 SourceLocation LAngleLoc, in FixedSizeTemplateParameterListStorage() argument
244 TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {} in FixedSizeTemplateParameterListStorage()
H A DExprCXX.h3245 return getTrailingASTTemplateKWAndArgsInfo()->LAngleLoc; in getLAngleLoc()
3517 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
3965 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
H A DExpr.h1406 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
3413 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp99 SourceLocation LAngleLoc, RAngleLoc; in ParseTemplateDeclarationOrSpecialization() local
103 TemplateParams, LAngleLoc, RAngleLoc)) { in ParseTemplateDeclarationOrSpecialization()
131 CurTemplateDepthTracker.getDepth(), ExportLoc, TemplateLoc, LAngleLoc, in ParseTemplateDeclarationOrSpecialization()
320 SmallVectorImpl<NamedDecl *> &TemplateParams, SourceLocation &LAngleLoc, in ParseTemplateParameters() argument
323 if (!TryConsumeToken(tok::less, LAngleLoc)) { in ParseTemplateParameters()
694 SourceLocation LAngleLoc, RAngleLoc; in ParseTemplateTemplateParameter() local
699 LAngleLoc, RAngleLoc)) { in ParseTemplateTemplateParameter()
776 Depth, SourceLocation(), TemplateLoc, LAngleLoc, TemplateParams, in ParseTemplateTemplateParameter()
883 bool Parser::ParseGreaterThanInTemplateList(SourceLocation LAngleLoc, in ParseGreaterThanInTemplateList() argument
895 Diag(LAngleLoc, diag::note_matching) << tok::less; in ParseGreaterThanInTemplateList()
[all …]
H A DParseObjc.cpp217 SourceLocation LAngleLoc, EndProtoLoc; in ParseObjCAtInterfaceDeclaration() local
223 typeParamScope, LAngleLoc, ProtocolIdents, EndProtoLoc); in ParseObjCAtInterfaceDeclaration()
256 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols"); in ParseObjCAtInterfaceDeclaration()
261 LAngleLoc, EndProtoLoc, in ParseObjCAtInterfaceDeclaration()
304 nullptr, typeArgsLAngleLoc, typeArgs, typeArgsRAngleLoc, LAngleLoc, in ParseObjCAtInterfaceDeclaration()
314 if (LAngleLoc.isValid()) { in ParseObjCAtInterfaceDeclaration()
327 LAngleLoc, EndProtoLoc, in ParseObjCAtInterfaceDeclaration()
1361 SourceLocation &LAngleLoc, SourceLocation &EndLoc, in ParseObjCProtocolReferences() argument
1365 LAngleLoc = ConsumeToken(); // the "<" in ParseObjCProtocolReferences()
1390 if (ParseGreaterThanInTemplateList(LAngleLoc, EndLoc, consumeLastToken, in ParseObjCProtocolReferences()
[all …]
H A DParseDeclCXX.cpp864 Range = SourceRange(D.Name.TemplateId->LAngleLoc, in ParseAliasDeclarationAfterDeclarator()
1772 SourceLocation LAngleLoc, RAngleLoc; in ParseClassSpecifier() local
1773 if (ParseTemplateIdAfterTemplateName(true, LAngleLoc, TemplateArgs, in ParseClassSpecifier()
1777 LAngleLoc = RAngleLoc = SourceLocation(); in ParseClassSpecifier()
1780 Name, NameLoc, SourceRange(LAngleLoc, RAngleLoc), false); in ParseClassSpecifier()
1793 SourceRange(TemplateId->LAngleLoc, TemplateId->RAngleLoc), true); in ParseClassSpecifier()
1807 Diag(TemplateId->LAngleLoc, diag::err_template_spec_syntax_non_template) in ParseClassSpecifier()
2005 TemplateId->TemplateNameLoc, TemplateId->LAngleLoc, TemplateArgsPtr, in ParseClassSpecifier()
2021 TemplateId->LAngleLoc, TemplateArgsPtr, TemplateId->RAngleLoc); in ParseClassSpecifier()
2045 SourceLocation LAngleLoc = in ParseClassSpecifier() local
[all …]
H A DParseExprCXX.cpp360 TemplateId->LAngleLoc, in ParseOptionalCXXScopeSpecifier()
1256 SourceLocation LAngleLoc, RAngleLoc; in ParseLambdaExpressionAfterIntroducer() local
1259 TemplateParams, LAngleLoc, RAngleLoc)) { in ParseLambdaExpressionAfterIntroducer()
1288 Intro, LAngleLoc, TemplateParams, RAngleLoc, RequiresClause); in ParseLambdaExpressionAfterIntroducer()
2320 SourceLocation LAngleLoc, RAngleLoc; in ParseUnqualifiedIdTemplateId() local
2322 if (ParseTemplateIdAfterTemplateName(true, LAngleLoc, TemplateArgs, RAngleLoc, in ParseUnqualifiedIdTemplateId()
2347 LAngleLoc, RAngleLoc, TemplateArgs, /*ArgsInvalid*/false, TemplateIds); in ParseUnqualifiedIdTemplateId()
2358 getCurScope(), SS, TemplateKWLoc, Template, Name, NameLoc, LAngleLoc, in ParseUnqualifiedIdTemplateId()
2684 SourceRange(TemplateId->LAngleLoc, TemplateId->RAngleLoc)); in ParseUnqualifiedId()
H A DParseDecl.cpp2241 SourceLocation LAngleLoc = in ParseDeclGroup() local
2246 << FixItHint::CreateInsertion(LAngleLoc, "<>"); in ParseDeclGroup()
2251 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, {}, in ParseDeclGroup()
2252 LAngleLoc, nullptr)); in ParseDeclGroup()
2559 SourceLocation LAngleLoc = in ParseDeclarationAfterDeclaratorAndAttributes() local
2564 << FixItHint::CreateInsertion(LAngleLoc, "<>"); in ParseDeclarationAfterDeclaratorAndAttributes()
2569 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, {}, in ParseDeclarationAfterDeclaratorAndAttributes()
2570 LAngleLoc, nullptr)); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParser.cpp1988 TemplateId->TemplateNameLoc, TemplateId->LAngleLoc, in TryAnnotateTypeOrScopeToken()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp725 LAngleLoc = Info.getLAngleLoc(); in ASTTemplateArgumentListInfo()
736 LAngleLoc = Info->getLAngleLoc(); in ASTTemplateArgumentListInfo()
749 LAngleLoc = Info.getLAngleLoc(); in initializeFrom()
759 LAngleLoc = SourceLocation(); in initializeFrom()
769 LAngleLoc = Info.getLAngleLoc(); in initializeFrom()
782 Info.setLAngleLoc(LAngleLoc); in copyInto()
H A DDeclTemplate.cpp54 SourceLocation LAngleLoc, in TemplateParameterList() argument
58 : TemplateLoc(TemplateLoc), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateParameterList()
127 SourceLocation LAngleLoc, in Create() argument
133 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp843 SourceLocation LAngleLoc, in ActOnCXXNestedNameSpecifier() argument
854 TemplateArgumentListInfo TemplateArgs(LAngleLoc, RAngleLoc); in ActOnCXXNestedNameSpecifier()
876 SpecTL.setLAngleLoc(LAngleLoc); in ActOnCXXNestedNameSpecifier()
924 SpecTL.setLAngleLoc(LAngleLoc); in ActOnCXXNestedNameSpecifier()
H A DSemaTemplate.cpp1063 TemplateArgumentListInfo TemplateArgs(TemplateId.LAngleLoc, in makeTemplateArgumentListInfo()
1088 bool WereArgsSpecified = TypeConstr->LAngleLoc.isValid(); in CheckTypeConstraint()
1125 if (TypeConstr->LAngleLoc.isValid()) { in BuildTypeConstraint()
1139 TypeConstr->LAngleLoc.isValid() ? &TemplateArgs : nullptr, in BuildTypeConstraint()
1146 ConceptDecl *NamedConcept, NamedDecl *FoundDecl, SourceLocation LAngleLoc, in formImmediatelyDeclaredConstraint() argument
1157 ConstraintArgs.setLAngleLoc(LAngleLoc); in formImmediatelyDeclaredConstraint()
1766 SourceLocation LAngleLoc, in ActOnTemplateParameterList() argument
1776 return TemplateParameterList::Create(Context, TemplateLoc, LAngleLoc, in ActOnTemplateParameterList()
3015 DiagnoseMissingExplicitSpecialization(SourceRange(TemplateId->LAngleLoc, in MatchTemplateParametersToScopeSpecifier()
3843 SourceLocation TemplateIILoc, SourceLocation LAngleLoc, in ActOnTemplateIdType() argument
[all …]
H A DTreeTransform.h3198 SourceLocation LAngleLoc, in RebuildCXXNamedCastExpr() argument
3206 return getDerived().RebuildCXXStaticCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3211 return getDerived().RebuildCXXDynamicCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3216 return getDerived().RebuildCXXReinterpretCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3222 return getDerived().RebuildCXXConstCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3228 OpLoc, LAngleLoc, TInfo, RAngleLoc, LParenLoc, SubExpr, RParenLoc); in RebuildCXXNamedCastExpr()
3240 SourceLocation LAngleLoc, in RebuildCXXStaticCastExpr() argument
3248 SourceRange(LAngleLoc, RAngleLoc), in RebuildCXXStaticCastExpr()
3257 SourceLocation LAngleLoc, in RebuildCXXDynamicCastExpr() argument
3265 SourceRange(LAngleLoc, RAngleLoc), in RebuildCXXDynamicCastExpr()
[all …]
H A DSemaLambda.cpp566 LambdaIntroducer &Intro, SourceLocation LAngleLoc, in ActOnLambdaExplicitTemplateParameterList() argument
580 LSI->ExplicitTemplateParamsRange = {LAngleLoc, RAngleLoc}; in ActOnLambdaExplicitTemplateParameterList()
H A DSemaType.cpp1316 TemplateArgsInfo.setLAngleLoc(TemplateId->LAngleLoc); in ConvertDeclSpecToType()
3072 TemplateArgumentListInfo TemplateArgsInfo(TemplateId->LAngleLoc, in InventTemplateParameter()
3075 if (TemplateId->LAngleLoc.isValid()) { in InventTemplateParameter()
3102 TemplateId->LAngleLoc.isValid() ? &TemplateArgsInfo : nullptr, in InventTemplateParameter()
6044 TemplateArgumentListInfo TemplateArgsInfo(TemplateId->LAngleLoc, in VisitAutoTypeLoc()
H A DSemaExprCXX.cpp7255 TemplateId->LAngleLoc, in ActOnPseudoDestructorExpr()
7308 TemplateId->LAngleLoc, in ActOnPseudoDestructorExpr()
7842 TemplateId->LAngleLoc, ArgsPtr, in ActOnTypeRequirement()
H A DSemaTemplateInstantiateDecl.cpp4794 TemplateArgumentListInfo InstTemplateArgs(TemplArgInfo->LAngleLoc, in InstantiateClassTemplatePartialSpecialization()
4909 TemplateArgumentListInfo InstTemplateArgs(TemplArgInfo->LAngleLoc, in InstantiateVarTemplatePartialSpecialization()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h5534 bool WarnOnDeclarations, bool ForObjCContainer, SourceLocation &LAngleLoc,
8052 SourceLocation &LAngleLoc,
8177 bool ParseGreaterThanInTemplateList(SourceLocation LAngleLoc,
8194 SourceLocation &LAngleLoc,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp122 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()

12