Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclTemplate.cpp563 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, in Create() argument
722 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
726 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
743 SourceLocation IdLoc, in Create() argument
836 SourceLocation IdLoc, in ClassTemplatePartialSpecializationDecl() argument
844 TK, DC, StartLoc, IdLoc, in ClassTemplatePartialSpecializationDecl()
854 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1054 : VarDecl(DK, Context, DC, StartLoc, IdLoc, in VarTemplateSpecializationDecl()
1071 VarTemplateSpecialization, Context, DC, StartLoc, IdLoc, in Create()
1118 SourceLocation IdLoc, TemplateParameterList *Params, in VarTemplatePartialSpecializationDecl() argument
[all …]
H A DDecl.cpp1902 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
1905 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
3961 : TagDecl(Enum, TTK_Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in EnumDecl()
3976 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3980 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
4091 SourceLocation IdLoc, IdentifierInfo *Id, in RecordDecl() argument
4093 : TagDecl(DK, TK, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl()
4111 StartLoc, IdLoc, Id, PrevDecl); in Create()
4405 SourceLocation IdLoc, in Create() argument
4524 return new (C, DC) TypedefDecl(C, DC, StartLoc, IdLoc, Id, TInfo); in Create()
[all …]
H A DDeclCXX.cpp118 SourceLocation IdLoc, IdentifierInfo *Id, in CXXRecordDecl() argument
120 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl()
126 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
129 auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, IdLoc, Id, in Create()
2573 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
2575 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
2586 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2588 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create()
2852 SourceLocation IdLoc, IdentifierInfo *Id) { in Create() argument
2853 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
H A DDeclObjC.cpp1750 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1780 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1827 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1829 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExprObjC.h602 SourceLocation IdLoc;
618 PropertyOrGetter(PD, false), IdLoc(l), Receiver(base) {
628 PropertyOrGetter(PD, false), IdLoc(l), ReceiverLoc(sl),
635 SourceLocation IdLoc, Expr *Base)
640 IdLoc(IdLoc), Receiver(Base) {
646 SourceLocation IdLoc,
650 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
656 SourceLocation IdLoc,
660 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) {
726 SourceLocation getLocation() const { return IdLoc; }
[all …]
H A DDecl.h532 SourceLocation StartLoc, SourceLocation IdLoc,
981 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1525 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1557 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1559 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1570 SourceLocation IdLoc, IdentifierInfo *Id,
2627 SourceLocation IdLoc, IdentifierInfo *Id, in FieldDecl() argument
2630 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in FieldDecl()
2932 SourceLocation StartLoc, SourceLocation IdLoc, in TypedefNameDecl() argument
2934 : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C), in TypedefNameDecl()
[all …]
H A DDeclTemplate.h1174 SourceLocation IdLoc, IdentifierInfo *Id,
1294 SourceLocation IdLoc, unsigned D, unsigned P,
1301 SourceLocation IdLoc, unsigned D, unsigned P,
1310 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1315 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1698 SourceLocation IdLoc,
1711 SourceLocation StartLoc, SourceLocation IdLoc,
1918 SourceLocation IdLoc,
1937 SourceLocation StartLoc, SourceLocation IdLoc,
2750 SourceLocation IdLoc, TemplateParameterList *Params,
[all …]
H A DDeclObjC.h1955 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1958 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1964 SourceLocation StartLoc, SourceLocation IdLoc,
2014 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
2016 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
2025 SourceLocation IdLoc, IdentifierInfo *Id,
H A DDeclCXX.h718 SourceLocation StartLoc, SourceLocation IdLoc,
779 SourceLocation StartLoc, SourceLocation IdLoc,
3802 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id)
3803 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {}
3811 SourceLocation IdLoc, IdentifierInfo *Id);
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp71 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
649 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
663 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction()
665 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
667 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
670 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction()
674 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp617 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local
619 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator()
620 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator()
1152 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
1161 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
1175 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1205 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
1210 EndLocation = IdLoc; in ParseBaseTypeSpecifier()
1214 DS.SetRangeStart(IdLoc); in ParseBaseTypeSpecifier()
1220 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier()
[all …]
H A DParseExprCXX.cpp449 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
469 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2516 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2521 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2529 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId()
2533 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2536 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, in ParseUnqualifiedId()
2539 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId()
2542 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2549 SS, TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
H A DParseStmt.cpp999 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
1000 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h1023 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
1026 StartLocation = EndLocation = IdLoc; in setIdentifier()
1068 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1072 EndLocation = IdLoc; in setLiteralOperatorId()
2136 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
2137 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
H A DSema.h2359 SourceLocation IdLoc,
3358 SourceLocation IdLoc,
3922 SourceLocation IdLoc,
5409 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc,
5415 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, in NestedNameSpecInfo()
5418 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo()
5785 SourceLocation IdLoc,
5797 SourceLocation IdLoc,
5807 SourceLocation IdLoc,
5813 SourceLocation IdLoc);
[all …]
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DTGParser.cpp2220 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
2235 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration()
2395 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
2421 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp3752 SourceLocation IdLoc, in ActOnMemInitializer() argument
3756 DS, IdLoc, InitList, in ActOnMemInitializer()
3768 SourceLocation IdLoc, in ActOnMemInitializer() argument
3775 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
3826 SourceLocation IdLoc, in BuildMemInitializer() argument
3870 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
3905 *MemberOrBase, IdLoc); in BuildMemInitializer()
3913 TL.setNameLoc(IdLoc); in BuildMemInitializer()
3937 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
3963 Diag(IdLoc, diag::err_mem_init_not_member_or_class) in BuildMemInitializer()
[all …]
H A DSemaDeclObjC.cpp4838 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
4846 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
4858 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
4863 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
4866 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
4869 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
H A DSemaDecl.cpp1856 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
16214 SourceLocation IdLoc, in CheckEnumConstant() argument
16282 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
16340 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
16364 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
16368 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
16431 DiagnoseTemplateParameterShadow(IdLoc, PrevDecl); in ActOnEnumConstant()
16443 DeclarationNameInfo(Id, IdLoc)); in ActOnEnumConstant()
16462 Diag(IdLoc, diag::err_redefinition_of_enumerator) << Id; in ActOnEnumConstant()
16464 Diag(IdLoc, diag::err_redefinition) << Id; in ActOnEnumConstant()
[all …]
H A DTreeTransform.h1013 SourceLocation IdLoc, in RebuildDependentNameType() argument
1028 *Id, IdLoc); in RebuildDependentNameType()
1034 SemaRef.Diag(IdLoc, diag::err_dependent_deduced_tst) in RebuildDependentNameType()
1051 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1082 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1090 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << SomeDecl in RebuildDependentNameType()
1096 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
1104 IdLoc, Id)) { in RebuildDependentNameType()
1990 SourceLocation IdLoc, in RebuildExceptionDecl() argument
1993 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
H A DSemaTemplate.cpp9467 SourceLocation IdLoc) { in ActOnTypenameType() argument
9480 TypenameLoc, QualifierLoc, II, IdLoc); in ActOnTypenameType()
9489 TL.setNameLoc(IdLoc); in ActOnTypenameType()
9494 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc); in ActOnTypenameType()
H A DSemaLookup.cpp2826 SourceLocation IdLoc, in LookupProtocol() argument
2828 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
H A DSemaOpenMP.cpp13680 SourceLocation IdLoc) { in checkDeclIsAllowedInOpenMPTarget() argument
13704 assert(IdLoc.isValid() && "Source location is expected"); in checkDeclIsAllowedInOpenMPTarget()
13705 Diag(IdLoc, diag::err_omp_function_in_link_clause); in checkDeclIsAllowedInOpenMPTarget()