Home
last modified time | relevance | path

Searched refs:IdLoc (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp751 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, in Create() argument
910 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
914 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
931 SourceLocation IdLoc, in Create() argument
1097 SourceLocation IdLoc, in ClassTemplatePartialSpecializationDecl() argument
1105 TK, DC, StartLoc, IdLoc, in ClassTemplatePartialSpecializationDecl()
1116 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1324 : VarDecl(DK, Context, DC, StartLoc, IdLoc, in VarTemplateSpecializationDecl()
1341 VarTemplateSpecialization, Context, DC, StartLoc, IdLoc, in Create()
1405 SourceLocation IdLoc, TemplateParameterList *Params, in VarTemplatePartialSpecializationDecl() argument
[all …]
H A DDecl.cpp2132 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
2135 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2907 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
4797 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4801 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
4938 SourceLocation IdLoc, IdentifierInfo *Id, in RecordDecl() argument
4940 : TagDecl(DK, TK, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl()
4963 StartLoc, IdLoc, Id, PrevDecl); in Create()
5310 SourceLocation IdLoc, in Create() argument
5436 return new (C, DC) TypedefDecl(C, DC, StartLoc, IdLoc, Id, TInfo); in Create()
[all …]
H A DDeclCXX.cpp125 SourceLocation IdLoc, IdentifierInfo *Id, in CXXRecordDecl() argument
127 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl()
133 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
136 auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, IdLoc, Id, in Create()
2950 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
2953 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
2969 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2972 NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, PrevDecl, Nested); in Create()
3318 SourceLocation IdLoc, IdentifierInfo *Id) { in Create() argument
3319 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
H A DDeclObjC.cpp1841 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1871 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1918 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1920 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h642 SourceLocation IdLoc; variable
654 IdLoc(l), Receiver(base) { in ObjCPropertyRefExpr()
663 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { in ObjCPropertyRefExpr()
670 SourceLocation IdLoc, Expr *Base) in ObjCPropertyRefExpr() argument
673 IdLoc(IdLoc), Receiver(Base) { in ObjCPropertyRefExpr()
680 SourceLocation IdLoc, SourceLocation SuperLoc, in ObjCPropertyRefExpr() argument
684 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr()
695 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { in ObjCPropertyRefExpr()
762 SourceLocation getLocation() const { return IdLoc; } in getLocation()
786 SourceLocation getEndLoc() const LLVM_READONLY { return IdLoc; } in getEndLoc()
[all …]
H A DDecl.h566 SourceLocation StartLoc, SourceLocation IdLoc,
1113 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T,
1142 SourceLocation StartLoc, SourceLocation IdLoc,
1724 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1756 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1758 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1769 SourceLocation IdLoc, IdentifierInfo *Id,
3078 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in FieldDecl() argument
3407 SourceLocation StartLoc, SourceLocation IdLoc, in TypedefNameDecl() argument
3409 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl()
[all …]
H A DDeclTemplate.h1214 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1410 SourceLocation IdLoc, unsigned D, unsigned P,
1417 SourceLocation IdLoc, unsigned D, unsigned P,
1426 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1431 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1845 SourceLocation IdLoc,
1858 SourceLocation StartLoc, SourceLocation IdLoc,
2087 SourceLocation IdLoc,
2106 SourceLocation StartLoc, SourceLocation IdLoc,
2882 SourceLocation IdLoc, TemplateParameterList *Params,
[all …]
H A DDeclObjC.h1957 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1960 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1966 SourceLocation StartLoc, SourceLocation IdLoc,
2028 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
2030 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
2039 SourceLocation IdLoc, IdentifierInfo *Id,
H A DDeclCXX.h513 SourceLocation StartLoc, SourceLocation IdLoc,
574 SourceLocation StartLoc, SourceLocation IdLoc,
4109 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() argument
4110 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {} in BindingDecl()
4118 SourceLocation IdLoc, IdentifierInfo *Id);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp72 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
648 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
662 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction()
664 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
666 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
669 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction()
673 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp644 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local
646 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator()
647 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator()
1319 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
1330 Diag(IdLoc, diag::err_unknown_template_name) << Id; in ParseBaseTypeSpecifier()
1335 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1368 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
1373 EndLocation = IdLoc; in ParseBaseTypeSpecifier()
1377 DS.SetRangeStart(IdLoc); in ParseBaseTypeSpecifier()
1383 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier()
[all …]
H A DParseExprCXX.cpp450 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
470 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2895 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2900 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2908 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId()
2912 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2915 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, SS, in ParseUnqualifiedId()
2918 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId()
2921 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2929 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
H A DParseTemplate.cpp440 SourceLocation IdLoc = Result.getBeginLoc(); in ParseConceptDefinition() local
462 Id, IdLoc, ConstraintExpr); in ParseConceptDefinition()
H A DParseStmt.cpp1203 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
1204 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
H A DParseOpenMP.cpp4303 SourceLocation IdLoc; in ParseOpenMPIteratorsExpr() local
4306 IdLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr()
4363 D.DeclIdentLoc = IdLoc; in ParseOpenMPIteratorsExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1077 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
1080 StartLocation = EndLocation = IdLoc; in setIdentifier()
1122 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1126 EndLocation = IdLoc; in setLiteralOperatorId()
2277 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
2278 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
H A DSema.h3575 SourceLocation IdLoc,
4705 SourceLocation IdLoc,
5377 SourceLocation IdLoc,
7088 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc,
7094 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, in NestedNameSpecInfo()
7097 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo()
7739 SourceLocation IdLoc,
7751 SourceLocation IdLoc,
7761 SourceLocation IdLoc,
7767 SourceLocation IdLoc);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3261 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
3267 BadField = AddValue(CurRec, IdLoc, in ParseDeclaration()
3268 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
3274 AddValue(CurRec, IdLoc, in ParseDeclaration()
3275 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3280 AddValue(CurRec, IdLoc, in ParseDeclaration()
3281 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3454 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
3483 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp4322 SourceLocation IdLoc, in ActOnMemInitializer() argument
4326 DS, IdLoc, InitList, in ActOnMemInitializer()
4338 SourceLocation IdLoc, in ActOnMemInitializer() argument
4345 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
4437 SourceLocation IdLoc, in BuildMemInitializer() argument
4482 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
4527 TL.setNameLoc(IdLoc); in BuildMemInitializer()
4547 Diag(IdLoc, diag::ext_unqualified_base_class) in BuildMemInitializer()
4569 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
4595 Diag(IdLoc, diag::err_mem_init_not_member_or_class) in BuildMemInitializer()
[all …]
H A DSemaDeclObjC.cpp5142 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
5150 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
5162 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
5167 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
5170 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
5173 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
H A DSemaDecl.cpp2355 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
19707 SourceLocation IdLoc, in CheckEnumConstant() argument
19782 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
19840 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
19864 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
19869 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
19932 DiagnoseTemplateParameterShadow(IdLoc, PrevDecl); in ActOnEnumConstant()
19944 DeclarationNameInfo(Id, IdLoc)); in ActOnEnumConstant()
19963 Diag(IdLoc, diag::err_redefinition_of_enumerator) << Id; in ActOnEnumConstant()
19965 Diag(IdLoc, diag::err_redefinition) << Id; in ActOnEnumConstant()
[all …]
H A DTreeTransform.h1153 SourceLocation IdLoc, in RebuildDependentNameType() argument
1169 *Id, IdLoc, DeducedTSTContext); in RebuildDependentNameType()
1177 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1208 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1216 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) in RebuildDependentNameType()
1222 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
1231 IdLoc, Id)) { in RebuildDependentNameType()
2514 SourceLocation IdLoc, in RebuildExceptionDecl() argument
2517 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
H A DSemaDeclAttr.cpp4117 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); in handleCallbackAttr() local
4118 auto It = NameIdxMapping.find(IdLoc->Ident->getName()); in handleCallbackAttr()
4121 << IdLoc->Ident << IdLoc->Loc; in handleCallbackAttr()
4125 SR = SourceRange(IdLoc->Loc); in handleCallbackAttr()
H A DSemaLookup.cpp3317 SourceLocation IdLoc, in LookupProtocol() argument
3319 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
H A DSemaTemplate.cpp11036 SourceLocation IdLoc, in ActOnTypenameType() argument
11055 TypenameLoc, QualifierLoc, II, IdLoc, &TSI, in ActOnTypenameType()

12