| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 766 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument 769 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl() 784 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id, in Create() argument 793 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, in Create() 802 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id, in Create() argument 811 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create() 971 SourceLocation StartLoc, SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument 974 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl() 990 SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, in Create() argument 994 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create() [all …]
|
| H A D | Decl.cpp | 2134 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument 2137 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl() 2946 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2950 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 4634 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 4638 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 4939 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl() argument 4941 : TagDecl(Enum, TagTypeKind::Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in EnumDecl() 4956 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 4960 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create() [all …]
|
| H A D | DeclCXX.cpp | 126 SourceLocation IdLoc, IdentifierInfo *Id, in CXXRecordDecl() argument 128 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl() 134 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 137 auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, IdLoc, Id, in Create() 3228 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument 3231 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl() 3240 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 3243 NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, PrevDecl, Nested); in Create() 3575 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 3577 return new (C, DC) BindingDecl(DC, IdLoc, Id, T); in Create()
|
| H A D | DeclObjC.cpp | 1832 SourceLocation IdLoc, in Create() argument 1862 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create() 1909 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 1911 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 640 SourceLocation IdLoc; variable 652 IdLoc(l), Receiver(base) { in ObjCPropertyRefExpr() 661 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { in ObjCPropertyRefExpr() 668 SourceLocation IdLoc, Expr *Base) in ObjCPropertyRefExpr() argument 671 IdLoc(IdLoc), Receiver(Base) { in ObjCPropertyRefExpr() 678 SourceLocation IdLoc, SourceLocation SuperLoc, in ObjCPropertyRefExpr() argument 682 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr() 689 SourceLocation IdLoc, SourceLocation ReceiverLoc, in ObjCPropertyRefExpr() argument 693 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { in ObjCPropertyRefExpr() 756 SourceLocation getLocation() const { return IdLoc; } in getLocation() [all …]
|
| H A D | Decl.h | 583 SourceLocation StartLoc, SourceLocation IdLoc, 597 SourceLocation StartLoc, SourceLocation IdLoc, 1108 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T, 1137 SourceLocation StartLoc, SourceLocation IdLoc, 1734 SourceLocation IdLoc, IdentifierInfo *Id, 1741 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument 1744 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl() 1776 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T, in ParmVarDecl() argument 1778 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl() 1788 SourceLocation StartLoc, SourceLocation IdLoc, [all …]
|
| H A D | DeclTemplate.h | 1201 SourceLocation IdLoc, IdentifierInfo *Id, bool Typename, 1203 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename), 1391 SourceLocation IdLoc, unsigned D, unsigned P, 1394 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), 1398 SourceLocation IdLoc, unsigned D, unsigned P, 1407 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id, 1412 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id, 1859 SourceLocation IdLoc, 1873 SourceLocation StartLoc, SourceLocation IdLoc, 2110 SourceLocation IdLoc, TemplateParameterList *Params, [all …]
|
| H A D | DeclObjC.h | 1959 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T, in ObjCIvarDecl() argument 1962 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl() 1968 SourceLocation StartLoc, SourceLocation IdLoc, 2029 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument 2031 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl() 2040 SourceLocation IdLoc, IdentifierInfo *Id,
|
| H A D | DeclCXX.h | 512 SourceLocation StartLoc, SourceLocation IdLoc, 572 SourceLocation StartLoc, SourceLocation IdLoc, 4185 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id, in BindingDecl() argument 4187 : ValueDecl(Decl::Binding, DC, IdLoc, Id, T) {} in BindingDecl() 4195 SourceLocation IdLoc, IdentifierInfo *Id,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 71 bool matchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, 647 bool LanaiAsmParser::matchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in matchAndEmitInstruction() argument 661 return Error(IdLoc, "Instruction use requires option to be enabled"); in matchAndEmitInstruction() 663 return Error(IdLoc, "Unrecognized instruction mnemonic"); in matchAndEmitInstruction() 665 ErrorLoc = IdLoc; in matchAndEmitInstruction() 668 return Error(IdLoc, "Too few operands for instruction"); in matchAndEmitInstruction() 672 ErrorLoc = IdLoc; in matchAndEmitInstruction()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 596 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local 598 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator() 599 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator() 1355 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local 1364 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), &SS, in ParseBaseTypeSpecifier() 1366 Diag(IdLoc, diag::err_unknown_template_name) << Id; in ParseBaseTypeSpecifier() 1371 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier() 1398 *Id, IdLoc, getCurScope(), &SS, /*isClassName=*/true, false, nullptr, in ParseBaseTypeSpecifier() 1404 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier() 1409 EndLocation = IdLoc; in ParseBaseTypeSpecifier() [all …]
|
| H A D | ParseExprCXX.cpp | 457 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local 477 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier() 2604 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local 2609 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId() 2617 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId() 2621 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId() 2624 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, SS, in ParseUnqualifiedId() 2627 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId() 2630 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId() 2638 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId() [all …]
|
| H A D | ParseTemplate.cpp | 281 SourceLocation IdLoc = Result.getBeginLoc(); in ParseConceptDefinition() local 286 getCurScope(), *TemplateInfo.TemplateParams, Id, IdLoc); in ParseConceptDefinition()
|
| H A D | ParseStmt.cpp | 1127 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local 1128 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1115 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument 1118 StartLocation = EndLocation = IdLoc; in setIdentifier() 1160 SourceLocation IdLoc) { in setLiteralOperatorId() argument 1164 EndLocation = IdLoc; in setLiteralOperatorId() 2342 void SetIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument 2343 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
|
| H A D | SemaObjC.h | 143 IdentifierInfo *II, SourceLocation IdLoc, 494 SourceLocation StartLoc, SourceLocation IdLoc, 552 SourceLocation IdLoc,
|
| H A D | Sema.h | 3277 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, 3280 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType() 3283 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, in NestedNameSpecInfo() 3286 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) {} in NestedNameSpecInfo() 4369 SourceLocation IdLoc, IdentifierInfo *Id, 4387 SourceLocation IdLoc, IdentifierInfo *Id, 5740 const DeclSpec &DS, SourceLocation IdLoc, 5749 const DeclSpec &DS, SourceLocation IdLoc, 5757 const DeclSpec &DS, SourceLocation IdLoc, 5761 SourceLocation IdLoc); [all …]
|
| H A D | SemaOpenMP.h | 355 SourceLocation IdLoc = SourceLocation());
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjC.cpp | 1298 SourceLocation IdLoc, in LookupProtocol() argument 1300 Decl *D = SemaRef.LookupSingleName(SemaRef.TUScope, II, IdLoc, in LookupProtocol() 1445 auto IdLoc = SemaRef.PP.getPragmaARCCFCodeAuditedInfo(); in AddCFAuditedAttribute() local 1446 if (!IdLoc.getLoc().isValid()) in AddCFAuditedAttribute() 1454 AttributeCommonInfo Info(IdLoc.getIdentifierInfo(), in AddCFAuditedAttribute() 1455 SourceRange(IdLoc.getLoc()), in AddCFAuditedAttribute()
|
| H A D | SemaDeclObjC.cpp | 5161 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument 5170 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl() 5182 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl() 5187 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl() 5190 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl() 5193 VarDecl *New = VarDecl::Create(Context, SemaRef.CurContext, StartLoc, IdLoc, in BuildObjCExceptionDecl() 5428 SourceLocation IdLoc, in getObjCInterfaceDecl() argument 5432 NamedDecl *IDecl = SemaRef.LookupSingleName(SemaRef.TUScope, Id, IdLoc, in getObjCInterfaceDecl() 5440 DeclarationNameInfo(Id, IdLoc), Sema::LookupOrdinaryName, in getObjCInterfaceDecl()
|
| H A D | SemaDeclCXX.cpp | 4270 SourceLocation IdLoc, in ActOnMemInitializer() argument 4274 DS, IdLoc, InitList, in ActOnMemInitializer() 4285 SourceLocation IdLoc, in ActOnMemInitializer() argument 4292 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer() 4383 SourceLocation IdLoc, in BuildMemInitializer() argument 4420 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer() 4422 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer() 4442 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer() 4463 SS.getWithLocInContext(Context), *MemberOrBase, IdLoc); in BuildMemInitializer() 4471 TL.setNameLoc(IdLoc); in BuildMemInitializer() [all …]
|
| H A D | SemaDeclAttr.cpp | 4128 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); in handleCallbackAttr() local 4129 auto It = NameIdxMapping.find(IdLoc->getIdentifierInfo()->getName()); in handleCallbackAttr() 4132 << IdLoc->getIdentifierInfo() << IdLoc->getLoc(); in handleCallbackAttr() 4136 SR = SourceRange(IdLoc->getLoc()); in handleCallbackAttr() 4254 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); in ParseLifetimeCaptureByAttr() local 4255 if (IdLoc->getIdentifierInfo()->getName() == ParamName) { in ParseLifetimeCaptureByAttr() 4256 Diag(IdLoc->getLoc(), diag::err_capture_by_references_itself) in ParseLifetimeCaptureByAttr() 4257 << IdLoc->getLoc(); in ParseLifetimeCaptureByAttr() 4261 ParamIdents[I] = IdLoc->getIdentifierInfo(); in ParseLifetimeCaptureByAttr() 4262 ParamLocs[I] = IdLoc->getLoc(); in ParseLifetimeCaptureByAttr()
|
| H A D | SemaDecl.cpp | 19939 SourceLocation IdLoc, in CheckEnumConstant() argument 19987 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant() 19989 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant() 20013 Diag(IdLoc, getLangOpts().C23 in CheckEnumConstant() 20073 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant() 20077 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant() 20099 Diag(IdLoc, getLangOpts().C23 in CheckEnumConstant() 20106 Diag(IdLoc, getLangOpts().C23 ? diag::warn_c17_compat_enum_value_not_int in CheckEnumConstant() 20120 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant() 20151 SourceLocation IdLoc, IdentifierInfo *Id, in ActOnEnumConstant() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 3353 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local 3359 BadField = AddValue(CurRec, IdLoc, in ParseDeclaration() 3360 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration() 3366 AddValue(CurRec, IdLoc, in ParseDeclaration() 3367 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration() 3372 AddValue(CurRec, IdLoc, in ParseDeclaration() 3373 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration() 3547 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local 3561 return Error(IdLoc, "Value '" + FieldName->getValue() + "' unknown!"); in ParseBodyItem() 3576 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 1379 SMLoc IdLoc = Parser.getTok().getLoc(); in parseDirectiveMachine() local 1392 return Error(IdLoc, in parseDirectiveMachine()
|