Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp726 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument
729 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
744 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id, in Create() argument
752 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack, in Create()
758 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id, in Create() argument
766 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
923 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
927 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
944 SourceLocation IdLoc, in Create() argument
950 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
H A DDecl.cpp2117 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
2120 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2908 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
2912 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
4538 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4542 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
4828 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl() argument
4830 : TagDecl(Enum, TagTypeKind::Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in EnumDecl()
4845 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4849 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
[all …]
H A DDeclCXX.cpp126 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()
3003 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
3006 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
3015 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
3018 NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, PrevDecl, Nested); in Create()
3352 SourceLocation IdLoc, IdentifierInfo *Id) { in Create() argument
3353 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
H A DDeclObjC.cpp1835 SourceLocation IdLoc, in Create() argument
1865 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1912 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1914 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h559 SourceLocation StartLoc, SourceLocation IdLoc,
573 SourceLocation StartLoc, SourceLocation IdLoc,
1077 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T,
1106 SourceLocation StartLoc, SourceLocation IdLoc,
1687 SourceLocation IdLoc, IdentifierInfo *Id,
1694 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1697 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1729 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1731 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1741 SourceLocation StartLoc, SourceLocation IdLoc,
[all …]
H A DDeclTemplate.h1192 SourceLocation IdLoc, IdentifierInfo *Id, bool Typename,
1195 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1387 SourceLocation IdLoc, unsigned D, unsigned P,
1390 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1394 SourceLocation IdLoc, unsigned D, unsigned P,
1403 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id,
1408 SourceLocation IdLoc, unsigned D, unsigned P, const IdentifierInfo *Id,
1846 SourceLocation IdLoc,
1859 SourceLocation StartLoc, SourceLocation IdLoc,
2088 SourceLocation IdLoc, TemplateParameterList *Params,
[all …]
H A DDeclObjC.h1960 SourceLocation IdLoc, const IdentifierInfo *Id, QualType T, in ObjCIvarDecl() argument
1963 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1969 SourceLocation StartLoc, SourceLocation IdLoc,
2030 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
2032 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
2041 SourceLocation IdLoc, IdentifierInfo *Id,
H A DDeclCXX.h513 SourceLocation StartLoc, SourceLocation IdLoc,
574 SourceLocation StartLoc, SourceLocation IdLoc,
4123 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() argument
4124 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {} in BindingDecl()
4132 SourceLocation IdLoc, IdentifierInfo *Id);
/freebsd/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/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp661 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local
663 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator()
664 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator()
1471 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
1480 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), &SS, in ParseBaseTypeSpecifier()
1482 Diag(IdLoc, diag::err_unknown_template_name) << Id; in ParseBaseTypeSpecifier()
1487 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1514 *Id, IdLoc, getCurScope(), &SS, /*isClassName=*/true, false, nullptr, in ParseBaseTypeSpecifier()
1520 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
1525 EndLocation = IdLoc; in ParseBaseTypeSpecifier()
[all …]
H A DParseExprCXX.cpp495 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
515 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2997 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
3002 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
3010 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId()
3014 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
3017 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, SS, in ParseUnqualifiedId()
3020 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId()
3023 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
3031 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
[all …]
H A DParseTemplate.cpp321 SourceLocation IdLoc = Result.getBeginLoc(); in ParseConceptDefinition() local
343 *TemplateInfo.TemplateParams, Id, IdLoc, in ParseConceptDefinition()
H A DParseStmt.cpp1215 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
1216 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
H A DParseOpenMP.cpp4246 SourceLocation IdLoc; in ParseOpenMPIteratorsExpr() local
4249 IdLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr()
4306 D.DeclIdentLoc = IdLoc; in ParseOpenMPIteratorsExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1113 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
1116 StartLocation = EndLocation = IdLoc; in setIdentifier()
1158 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1162 EndLocation = IdLoc; in setLiteralOperatorId()
2339 void SetIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
2340 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
H A DSemaObjC.h141 IdentifierInfo *II, SourceLocation IdLoc,
502 SourceLocation StartLoc, SourceLocation IdLoc,
560 SourceLocation IdLoc,
H A DSema.h2825 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc,
2828 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType()
2831 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, in NestedNameSpecInfo()
2834 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) {} in NestedNameSpecInfo()
3973 SourceLocation IdLoc, IdentifierInfo *Id,
3991 SourceLocation IdLoc, IdentifierInfo *Id,
5325 const DeclSpec &DS, SourceLocation IdLoc,
5334 const DeclSpec &DS, SourceLocation IdLoc,
5342 const DeclSpec &DS, SourceLocation IdLoc,
5346 SourceLocation IdLoc);
[all …]
H A DSemaOpenMP.h354 SourceLocation IdLoc = SourceLocation());
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3267 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
3273 BadField = AddValue(CurRec, IdLoc, in ParseDeclaration()
3274 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
3280 AddValue(CurRec, IdLoc, in ParseDeclaration()
3281 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3286 AddValue(CurRec, IdLoc, in ParseDeclaration()
3287 RecordVal(DeclName, IdLoc, Type, RecordVal::FK_TemplateArg)); in ParseDeclaration()
3460 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
3489 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp5157 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
5166 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
5178 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
5183 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
5186 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
5189 VarDecl *New = VarDecl::Create(Context, SemaRef.CurContext, StartLoc, IdLoc, in BuildObjCExceptionDecl()
5425 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
5429 NamedDecl *IDecl = SemaRef.LookupSingleName(SemaRef.TUScope, Id, IdLoc, in getObjCInterfaceDecl()
5437 DeclarationNameInfo(Id, IdLoc), Sema::LookupOrdinaryName, in getObjCInterfaceDecl()
H A DSemaDeclCXX.cpp4174 SourceLocation IdLoc, in ActOnMemInitializer() argument
4178 DS, IdLoc, InitList, in ActOnMemInitializer()
4189 SourceLocation IdLoc, in ActOnMemInitializer() argument
4196 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
4287 SourceLocation IdLoc, in BuildMemInitializer() argument
4330 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer()
4332 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
4352 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
4373 SS.getWithLocInContext(Context), *MemberOrBase, IdLoc); in BuildMemInitializer()
4381 TL.setNameLoc(IdLoc); in BuildMemInitializer()
4475 BuildMemberInitializer(ValueDecl * Member,Expr * Init,SourceLocation IdLoc) BuildMemberInitializer() argument
[all...]
H A DSemaDecl.cpp19374 SourceLocation IdLoc, in CheckEnumConstant() argument
19423 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
19425 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
19449 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
19507 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
19511 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant()
19531 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
19536 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
19549 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant()
19580 SourceLocation IdLoc, IdentifierInfo *Id, in ActOnEnumConstant() argument
[all …]
H A DSemaObjC.cpp1301 SourceLocation IdLoc, in LookupProtocol() argument
1303 Decl *D = SemaRef.LookupSingleName(SemaRef.TUScope, II, IdLoc, in LookupProtocol()
H A DSemaDeclAttr.cpp3640 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); in handleCallbackAttr() local
3641 auto It = NameIdxMapping.find(IdLoc->Ident->getName()); in handleCallbackAttr()
3644 << IdLoc->Ident << IdLoc->Loc; in handleCallbackAttr()
3648 SR = SourceRange(IdLoc->Loc); in handleCallbackAttr()
H A DTreeTransform.h1174 SourceLocation IdLoc, in RebuildDependentNameType() argument
1190 *Id, IdLoc, DeducedTSTContext); in RebuildDependentNameType()
1198 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1229 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1237 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) in RebuildDependentNameType()
1243 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
1252 IdLoc, Id)) { in RebuildDependentNameType()
2541 SourceLocation IdLoc, in RebuildExceptionDecl() argument
2544 StartLoc, IdLoc, Id); in RebuildExceptionDecl()

12