| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 743 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, in Create() argument 902 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument 906 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl() 923 SourceLocation IdLoc, in Create() argument 1043 SourceLocation IdLoc, in ClassTemplatePartialSpecializationDecl() argument 1051 TK, DC, StartLoc, IdLoc, in ClassTemplatePartialSpecializationDecl() 1062 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 1284 : VarDecl(DK, Context, DC, StartLoc, IdLoc, in VarTemplateSpecializationDecl() 1301 VarTemplateSpecialization, Context, DC, StartLoc, IdLoc, in Create() 1356 SourceLocation IdLoc, TemplateParameterList *Params, in VarTemplatePartialSpecializationDecl() argument [all …]
|
| H A D | Decl.cpp | 2042 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument 2045 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl() 4489 : TagDecl(Enum, TTK_Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in EnumDecl() 4504 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 4508 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create() 4630 SourceLocation IdLoc, IdentifierInfo *Id, in RecordDecl() argument 4632 : TagDecl(DK, TK, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl() 4654 StartLoc, IdLoc, Id, PrevDecl); in Create() 4974 SourceLocation IdLoc, in Create() argument 5092 return new (C, DC) TypedefDecl(C, DC, StartLoc, IdLoc, Id, TInfo); in Create() [all …]
|
| H A D | DeclCXX.cpp | 125 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() 2867 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument 2869 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl() 2880 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 2882 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create() 3214 SourceLocation IdLoc, IdentifierInfo *Id) { in Create() argument 3215 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
|
| H A D | DeclObjC.cpp | 1806 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 1836 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create() 1883 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 1885 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 639 SourceLocation IdLoc; variable 651 IdLoc(l), Receiver(base) { in ObjCPropertyRefExpr() 660 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { in ObjCPropertyRefExpr() 667 SourceLocation IdLoc, Expr *Base) in ObjCPropertyRefExpr() argument 670 IdLoc(IdLoc), Receiver(Base) { in ObjCPropertyRefExpr() 677 SourceLocation IdLoc, SourceLocation SuperLoc, in ObjCPropertyRefExpr() argument 681 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr() 692 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { in ObjCPropertyRefExpr() 759 SourceLocation getLocation() const { return IdLoc; } in getLocation() 783 SourceLocation getEndLoc() const LLVM_READONLY { return IdLoc; } in getEndLoc() [all …]
|
| H A D | Decl.h | 557 SourceLocation StartLoc, SourceLocation IdLoc, 1044 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T, 1655 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl() 1687 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument 1689 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl() 1700 SourceLocation IdLoc, IdentifierInfo *Id, 2921 SourceLocation IdLoc, IdentifierInfo *Id, in FieldDecl() argument 2924 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in FieldDecl() 3234 SourceLocation StartLoc, SourceLocation IdLoc, in TypedefNameDecl() argument 3236 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl() [all …]
|
| H A D | DeclTemplate.h | 1242 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename), 1444 SourceLocation IdLoc, unsigned D, unsigned P, 1451 SourceLocation IdLoc, unsigned D, unsigned P, 1460 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, 1465 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, 1879 SourceLocation IdLoc, 1892 SourceLocation StartLoc, SourceLocation IdLoc, 2121 SourceLocation IdLoc, 2140 SourceLocation StartLoc, SourceLocation IdLoc, 2971 SourceLocation IdLoc, TemplateParameterList *Params, [all …]
|
| H A D | DeclObjC.h | 1933 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument 1936 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl() 1942 SourceLocation StartLoc, SourceLocation IdLoc, 2002 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument 2004 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl() 2013 SourceLocation IdLoc, IdentifierInfo *Id,
|
| H A D | DeclCXX.h | 491 SourceLocation StartLoc, SourceLocation IdLoc, 552 SourceLocation StartLoc, SourceLocation IdLoc, 4001 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() argument 4002 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {} in BindingDecl() 4010 SourceLocation IdLoc, IdentifierInfo *Id);
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 73 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, 652 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument 666 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction() 668 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction() 670 ErrorLoc = IdLoc; in MatchAndEmitInstruction() 673 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction() 677 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 639 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local 641 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator() 642 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator() 1251 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local 1262 Diag(IdLoc, diag::err_unknown_template_name) << Id; in ParseBaseTypeSpecifier() 1267 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier() 1298 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier() 1303 EndLocation = IdLoc; in ParseBaseTypeSpecifier() 1307 DS.SetRangeStart(IdLoc); in ParseBaseTypeSpecifier() 1313 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier() [all …]
|
| H A D | ParseExprCXX.cpp | 447 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local 467 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier() 2824 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local 2829 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId() 2837 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId() 2841 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId() 2844 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, in ParseUnqualifiedId() 2847 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId() 2850 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId() 2858 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
|
| H A D | ParseTemplate.cpp | 427 SourceLocation IdLoc = Result.getBeginLoc(); in ParseConceptDefinition() local 449 Id, IdLoc, ConstraintExpr); in ParseConceptDefinition()
|
| H A D | ParseStmt.cpp | 1124 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local 1125 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
|
| H A D | ParseOpenMP.cpp | 4054 SourceLocation IdLoc; in ParseOpenMPIteratorsExpr() local 4057 IdLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr() 4114 D.DeclIdentLoc = IdLoc; in ParseOpenMPIteratorsExpr()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1039 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument 1042 StartLocation = EndLocation = IdLoc; in setIdentifier() 1084 SourceLocation IdLoc) { in setLiteralOperatorId() argument 1088 EndLocation = IdLoc; in setLiteralOperatorId() 2231 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument 2232 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
|
| H A D | Sema.h | 3408 SourceLocation IdLoc, 4494 SourceLocation IdLoc, 5128 SourceLocation IdLoc, 6783 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, 6789 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, in NestedNameSpecInfo() 6792 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo() 7309 SourceLocation IdLoc, 7321 SourceLocation IdLoc, 7331 SourceLocation IdLoc, 7337 SourceLocation IdLoc); [all …]
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 2753 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local 2759 BadField = AddValue(CurRec, IdLoc, in ParseDeclaration() 2760 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration() 2766 BadField = AddValue(CurRec, IdLoc, RecordVal(DeclName, IdLoc, Type, in ParseDeclaration() 2772 BadField = AddValue(CurRec, IdLoc, RecordVal(DeclName, IdLoc, Type, in ParseDeclaration() 2940 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local 2969 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 4136 SourceLocation IdLoc, in ActOnMemInitializer() argument 4140 DS, IdLoc, InitList, in ActOnMemInitializer() 4152 SourceLocation IdLoc, in ActOnMemInitializer() argument 4159 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer() 4210 SourceLocation IdLoc, in BuildMemInitializer() argument 4255 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer() 4292 *MemberOrBase, IdLoc); in BuildMemInitializer() 4300 TL.setNameLoc(IdLoc); in BuildMemInitializer() 4313 Diag(IdLoc, diag::ext_unqualified_base_class) in BuildMemInitializer() 4358 Diag(IdLoc, diag::err_mem_init_not_member_or_class) in BuildMemInitializer() [all …]
|
| H A D | SemaDecl.cpp | 2227 SourceLocation IdLoc, in getObjCInterfaceDecl() argument 18478 SourceLocation IdLoc, in CheckEnumConstant() argument 18553 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant() 18611 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant() 18635 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant() 18639 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant() 18702 DiagnoseTemplateParameterShadow(IdLoc, PrevDecl); in ActOnEnumConstant() 18714 DeclarationNameInfo(Id, IdLoc)); in ActOnEnumConstant() 18733 Diag(IdLoc, diag::err_redefinition_of_enumerator) << Id; in ActOnEnumConstant() 18735 Diag(IdLoc, diag::err_redefinition) << Id; in ActOnEnumConstant() [all …]
|
| H A D | SemaDeclObjC.cpp | 5130 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument 5138 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl() 5150 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl() 5155 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl() 5158 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl() 5161 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
|
| H A D | TreeTransform.h | 1092 SourceLocation IdLoc, in RebuildDependentNameType() argument 1107 *Id, IdLoc, DeducedTSTContext); in RebuildDependentNameType() 1115 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType() 1146 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType() 1154 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << SomeDecl in RebuildDependentNameType() 1160 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType() 1168 IdLoc, Id)) { in RebuildDependentNameType() 2367 SourceLocation IdLoc, in RebuildExceptionDecl() argument 2370 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
|
| H A D | SemaDeclAttr.cpp | 3947 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); in handleCallbackAttr() local 3948 auto It = NameIdxMapping.find(IdLoc->Ident->getName()); in handleCallbackAttr() 3951 << IdLoc->Ident << IdLoc->Loc; in handleCallbackAttr() 3955 SR = SourceRange(IdLoc->Loc); in handleCallbackAttr()
|
| H A D | SemaLookup.cpp | 3289 SourceLocation IdLoc, in LookupProtocol() argument 3291 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
|
| H A D | SemaTemplate.cpp | 10477 SourceLocation IdLoc) { in ActOnTypenameType() argument 10491 TypenameLoc, QualifierLoc, II, IdLoc, &TSI, in ActOnTypenameType()
|