Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h178 SourceLocation LAngleLoc; member
202 SourceLocation LAngleLoc, SourceLocation RAngleLoc, in Create()
209 LAngleLoc, RAngleLoc, TemplateArgs, ArgsInvalid); in Create()
244 SourceLocation LAngleLoc, SourceLocation RAngleLoc, in TemplateIdAnnotation()
249 Kind(TemplateKind), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateIdAnnotation()
H A DSemaCodeCompletion.h145 TemplateTy, ArrayRef<ParsedTemplateArgument>, SourceLocation LAngleLoc);
H A DSema.h2928 SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgs,
8817 SourceLocation LAngleLoc,
11274 SourceLocation LAngleLoc, ArrayRef<NamedDecl *> Params,
11395 SourceLocation TemplateIILoc, SourceLocation LAngleLoc,
11406 SourceLocation TemplateLoc, SourceLocation LAngleLoc,
11604 SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgs,
11935 SourceLocation TemplateIILoc, SourceLocation LAngleLoc,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h634 SourceLocation LAngleLoc;
640 TemplateArgumentListInfo(SourceLocation LAngleLoc, SourceLocation RAngleLoc)
641 : LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc) {}
647 SourceLocation getLAngleLoc() const { return LAngleLoc; }
650 void setLAngleLoc(SourceLocation Loc) { LAngleLoc = Loc; }
688 SourceLocation LAngleLoc;
696 SourceLocation getLAngleLoc() const { return LAngleLoc; }
730 SourceLocation LAngleLoc;
H A DTypeLoc.h1649 SourceLocation LAngleLoc; member
1668 return getLocalData()->LAngleLoc; in getLAngleLoc()
1672 getLocalData()->LAngleLoc = Loc; in setLAngleLoc()
2445 SourceLocation LAngleLoc; member
2505 return this->getLocalData()->LAngleLoc; in getLAngleLoc()
2509 this->getLocalData()->LAngleLoc = Loc; in setLAngleLoc()
H A DDeclTemplate.h78 SourceLocation LAngleLoc, RAngleLoc; variable
100 SourceLocation LAngleLoc, ArrayRef<NamedDecl *> Params,
118 SourceLocation LAngleLoc,
200 SourceLocation getLAngleLoc() const { return LAngleLoc; } in getLAngleLoc()
231 SourceLocation LAngleLoc, in FixedSizeTemplateParameterListStorage() argument
239 TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {} in FixedSizeTemplateParameterListStorage()
H A DExprCXX.h3119 return getTrailingASTTemplateKWAndArgsInfo()->LAngleLoc; in getLAngleLoc()
3391 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
3843 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
H A DExpr.h1397 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
3315 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp130 SourceLocation LAngleLoc, RAngleLoc; in ParseTemplateDeclarationOrSpecialization() local
134 TemplateParams, LAngleLoc, RAngleLoc)) { in ParseTemplateDeclarationOrSpecialization()
162 CurTemplateDepthTracker.getDepth(), ExportLoc, TemplateLoc, LAngleLoc, in ParseTemplateDeclarationOrSpecialization()
358 SmallVectorImpl<NamedDecl *> &TemplateParams, SourceLocation &LAngleLoc, in ParseTemplateParameters() argument
361 if (!TryConsumeToken(tok::less, LAngleLoc)) { in ParseTemplateParameters()
793 SourceLocation LAngleLoc, RAngleLoc; in ParseTemplateTemplateParameter() local
798 LAngleLoc, RAngleLoc)) { in ParseTemplateTemplateParameter()
875 Depth, SourceLocation(), TemplateLoc, LAngleLoc, TemplateParams, in ParseTemplateTemplateParameter()
1003 bool Parser::ParseGreaterThanInTemplateList(SourceLocation LAngleLoc, in ParseGreaterThanInTemplateList() argument
1015 Diag(LAngleLoc, diag::note_matching) << tok::less; in ParseGreaterThanInTemplateList()
[all …]
H A DParseObjc.cpp262 SourceLocation LAngleLoc, EndProtoLoc; in ParseObjCAtInterfaceDeclaration() local
268 typeParamScope, LAngleLoc, ProtocolIdents, EndProtoLoc); in ParseObjCAtInterfaceDeclaration()
301 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols"); in ParseObjCAtInterfaceDeclaration()
306 LAngleLoc, EndProtoLoc, in ParseObjCAtInterfaceDeclaration()
349 nullptr, typeArgsLAngleLoc, typeArgs, typeArgsRAngleLoc, LAngleLoc, in ParseObjCAtInterfaceDeclaration()
359 if (LAngleLoc.isValid()) { in ParseObjCAtInterfaceDeclaration()
372 LAngleLoc, EndProtoLoc, in ParseObjCAtInterfaceDeclaration()
1583 SourceLocation &LAngleLoc, SourceLocation &EndLoc, in ParseObjCProtocolReferences() argument
1587 LAngleLoc = ConsumeToken(); // the "<" in ParseObjCProtocolReferences()
1613 if (ParseGreaterThanInTemplateList(LAngleLoc, EndLoc, consumeLastToken, in ParseObjCProtocolReferences()
[all …]
H A DParseDeclCXX.cpp948 Range = SourceRange(D.Name.TemplateId->LAngleLoc, in ParseAliasDeclarationAfterDeclarator()
1933 SourceLocation LAngleLoc, RAngleLoc; in ParseClassSpecifier() local
1934 if (ParseTemplateIdAfterTemplateName(true, LAngleLoc, TemplateArgs, in ParseClassSpecifier()
1938 LAngleLoc = RAngleLoc = SourceLocation(); in ParseClassSpecifier()
1941 Name, NameLoc, SourceRange(LAngleLoc, RAngleLoc), false); in ParseClassSpecifier()
1954 SourceRange(TemplateId->LAngleLoc, TemplateId->RAngleLoc), true); in ParseClassSpecifier()
1968 Diag(TemplateId->LAngleLoc, diag::err_template_spec_syntax_non_template) in ParseClassSpecifier()
2158 TemplateId->TemplateNameLoc, TemplateId->LAngleLoc, TemplateArgsPtr, in ParseClassSpecifier()
2174 TemplateId->LAngleLoc, TemplateArgsPtr, TemplateId->RAngleLoc); in ParseClassSpecifier()
2198 SourceLocation LAngleLoc = in ParseClassSpecifier() local
[all …]
H A DParseExprCXX.cpp398 TemplateId->LAngleLoc, in ParseOptionalCXXScopeSpecifier()
1397 SourceLocation LAngleLoc, RAngleLoc; in ParseLambdaExpressionAfterIntroducer() local
1400 TemplateParams, LAngleLoc, RAngleLoc)) { in ParseLambdaExpressionAfterIntroducer()
1429 Intro, LAngleLoc, TemplateParams, RAngleLoc, RequiresClause); in ParseLambdaExpressionAfterIntroducer()
2637 SourceLocation LAngleLoc, RAngleLoc; in ParseUnqualifiedIdTemplateId() local
2639 if (ParseTemplateIdAfterTemplateName(true, LAngleLoc, TemplateArgs, RAngleLoc, in ParseUnqualifiedIdTemplateId()
2664 LAngleLoc, RAngleLoc, TemplateArgs, /*ArgsInvalid*/false, TemplateIds); in ParseUnqualifiedIdTemplateId()
2675 getCurScope(), SS, TemplateKWLoc, Template, Name, NameLoc, LAngleLoc, in ParseUnqualifiedIdTemplateId()
3077 SourceRange(TemplateId->LAngleLoc, TemplateId->RAngleLoc)); in ParseUnqualifiedId()
H A DParseDecl.cpp2405 SourceLocation LAngleLoc = in ParseDeclGroup() local
2410 << FixItHint::CreateInsertion(LAngleLoc, "<>"); in ParseDeclGroup()
2415 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, in ParseDeclGroup()
2416 std::nullopt, LAngleLoc, nullptr)); in ParseDeclGroup()
2746 SourceLocation LAngleLoc = in ParseDeclarationAfterDeclaratorAndAttributes() local
2751 << FixItHint::CreateInsertion(LAngleLoc, "<>"); in ParseDeclarationAfterDeclaratorAndAttributes()
2756 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, in ParseDeclarationAfterDeclaratorAndAttributes()
2757 std::nullopt, LAngleLoc, nullptr)); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParser.cpp2095 TemplateId->TemplateNameLoc, TemplateId->LAngleLoc, in TryAnnotateTypeOrScopeToken()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp730 LAngleLoc = Info.getLAngleLoc(); in ASTTemplateArgumentListInfo()
741 LAngleLoc = Info->getLAngleLoc(); in ASTTemplateArgumentListInfo()
754 LAngleLoc = Info.getLAngleLoc(); in initializeFrom()
764 LAngleLoc = SourceLocation(); in initializeFrom()
774 LAngleLoc = Info.getLAngleLoc(); in initializeFrom()
787 Info.setLAngleLoc(LAngleLoc); in copyInto()
H A DDeclTemplate.cpp50 SourceLocation LAngleLoc, in TemplateParameterList() argument
54 : TemplateLoc(TemplateLoc), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateParameterList()
120 SourceLocation LAngleLoc, in Create() argument
126 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp851 SourceLocation LAngleLoc, in ActOnCXXNestedNameSpecifier() argument
862 TemplateArgumentListInfo TemplateArgs(LAngleLoc, RAngleLoc); in ActOnCXXNestedNameSpecifier()
882 SpecTL.setLAngleLoc(LAngleLoc); in ActOnCXXNestedNameSpecifier()
931 SpecTL.setLAngleLoc(LAngleLoc); in ActOnCXXNestedNameSpecifier()
H A DSemaTemplate.cpp1060 TemplateArgumentListInfo TemplateArgs(TemplateId.LAngleLoc, in makeTemplateArgumentListInfo()
1082 bool WereArgsSpecified = TypeConstr->LAngleLoc.isValid(); in CheckTypeConstraint()
1119 if (TypeConstr->LAngleLoc.isValid()) { in BuildTypeConstraint()
1133 TypeConstr->LAngleLoc.isValid() ? &TemplateArgs : nullptr, in BuildTypeConstraint()
1140 ConceptDecl *NamedConcept, NamedDecl *FoundDecl, SourceLocation LAngleLoc, in formImmediatelyDeclaredConstraint() argument
1151 ConstraintArgs.setLAngleLoc(LAngleLoc); in formImmediatelyDeclaredConstraint()
1744 SourceLocation LAngleLoc, in ActOnTemplateParameterList() argument
1755 Context, TemplateLoc, LAngleLoc, in ActOnTemplateParameterList()
2973 DiagnoseMissingExplicitSpecialization(SourceRange(TemplateId->LAngleLoc, in MatchTemplateParametersToScopeSpecifier()
3556 SourceLocation TemplateIILoc, SourceLocation LAngleLoc, in ActOnTemplateIdType() argument
[all …]
H A DTreeTransform.h3155 SourceLocation LAngleLoc, in RebuildCXXNamedCastExpr() argument
3163 return getDerived().RebuildCXXStaticCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3168 return getDerived().RebuildCXXDynamicCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3173 return getDerived().RebuildCXXReinterpretCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3179 return getDerived().RebuildCXXConstCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3185 OpLoc, LAngleLoc, TInfo, RAngleLoc, LParenLoc, SubExpr, RParenLoc); in RebuildCXXNamedCastExpr()
3197 SourceLocation LAngleLoc, in RebuildCXXStaticCastExpr() argument
3205 SourceRange(LAngleLoc, RAngleLoc), in RebuildCXXStaticCastExpr()
3214 SourceLocation LAngleLoc, in RebuildCXXDynamicCastExpr() argument
3222 SourceRange(LAngleLoc, RAngleLoc), in RebuildCXXDynamicCastExpr()
[all …]
H A DSemaLambda.cpp545 LambdaIntroducer &Intro, SourceLocation LAngleLoc, in ActOnLambdaExplicitTemplateParameterList() argument
559 LSI->ExplicitTemplateParamsRange = {LAngleLoc, RAngleLoc}; in ActOnLambdaExplicitTemplateParameterList()
H A DSemaType.cpp1307 TemplateArgsInfo.setLAngleLoc(TemplateId->LAngleLoc); in ConvertDeclSpecToType()
3020 TemplateArgumentListInfo TemplateArgsInfo(TemplateId->LAngleLoc, in InventTemplateParameter()
3023 if (TemplateId->LAngleLoc.isValid()) { in InventTemplateParameter()
3050 TemplateId->LAngleLoc.isValid() ? &TemplateArgsInfo : nullptr, in InventTemplateParameter()
5965 TemplateArgumentListInfo TemplateArgsInfo(TemplateId->LAngleLoc, in VisitAutoTypeLoc()
H A DSemaExprCXX.cpp8234 TemplateId->LAngleLoc, in ActOnPseudoDestructorExpr()
8287 TemplateId->LAngleLoc, in ActOnPseudoDestructorExpr()
9233 TemplateId->LAngleLoc, ArgsPtr, in ActOnTypeRequirement()
H A DSemaTemplateInstantiateDecl.cpp4247 TemplateArgumentListInfo InstTemplateArgs(TemplArgInfo->LAngleLoc, in InstantiateClassTemplatePartialSpecialization()
4360 TemplateArgumentListInfo InstTemplateArgs(TemplArgInfo->LAngleLoc, in InstantiateVarTemplatePartialSpecialization()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1731 SourceLocation &LAngleLoc,
3797 SourceLocation &LAngleLoc,
3817 bool ParseGreaterThanInTemplateList(SourceLocation LAngleLoc,
3822 SourceLocation &LAngleLoc,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp122 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()

12