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

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp673 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D,
676 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
691 SourceLocation StartLoc, SourceLocation IdLoc,
701 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack,
707 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
715 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo,
866 SourceLocation IdLoc,
870 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc,
887 SourceLocation IdLoc,
893 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc,
672 NonTypeTemplateParmDecl( DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) argument
690 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
705 Create( const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) argument
864 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, ClassTemplateSpecializationDecl *PrevDecl) argument
884 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, ClassTemplateSpecializationDecl *PrevDecl) argument
997 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, const ASTTemplateArgumentListInfo *ArgInfos, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
1017 Create(ASTContext &Context, TagKind TK,DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, ArrayRef<TemplateArgument> Args, const TemplateArgumentListInfo &ArgInfos, QualType CanonInjectedType, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
1226 VarTemplateSpecializationDecl( Kind DK, ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args) argument
1242 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args) argument
1292 VarTemplatePartialSpecializationDecl( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args, const ASTTemplateArgumentListInfo *ArgInfos) argument
1308 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args, const TemplateArgumentListInfo &ArgInfos) argument
[all...]
H A DDecl.cpp1951 SourceLocation StartLoc, SourceLocation IdLoc,
1954 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc),
2661 SourceLocation IdLoc, IdentifierInfo *Id,
2664 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo,
4004 SourceLocation StartLoc, SourceLocation IdLoc,
4008 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo,
4233 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl,
4235 : TagDecl(Enum, TTK_Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) {
4250 SourceLocation StartLoc, SourceLocation IdLoc,
4254 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, I
1950 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass SC) argument
2659 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) argument
[all...]
H A DDeclCXX.cpp123 SourceLocation IdLoc, IdentifierInfo *Id,
125 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl),
131 SourceLocation IdLoc, IdentifierInfo *Id,
134 auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, IdLoc, Id,
2800 SourceLocation StartLoc, SourceLocation IdLoc,
2802 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace),
2813 SourceLocation IdLoc, IdentifierInfo *Id,
2815 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id,
3109 SourceLocation IdLoc, IdentifierInfo *Id) {
3110 return new (C, DC) BindingDecl(DC, IdLoc, I
121 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl *PrevDecl) argument
129 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl *PrevDecl, bool DelayTypeCreation) argument
[all...]
H A DDeclObjC.cpp1774 SourceLocation IdLoc, IdentifierInfo *Id,
1804 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW,
1851 SourceLocation StartLoc, SourceLocation IdLoc,
1853 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW);
1772 Create(ASTContext &C, ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
1850 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h639 SourceLocation IdLoc; member in class:clang::ObjCPropertyRefExpr
651 IdLoc(l), Receiver(base) {
660 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
667 SourceLocation IdLoc, Expr *Base)
670 IdLoc(IdLoc), Receiver(Base) {
677 SourceLocation IdLoc, SourceLocation SuperLoc,
681 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
688 SourceLocation IdLoc, SourceLocatio
665 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, Expr *Base) argument
675 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation SuperLoc, QualType SuperTy) argument
686 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver) argument
[all...]
H A DDecl.h514 SourceLocation StartLoc, SourceLocation IdLoc,
529 SourceLocation IdLoc, IdentifierInfo *Id,
990 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1019 SourceLocation StartLoc, SourceLocation IdLoc,
1560 SourceLocation IdLoc, IdentifierInfo *Id,
1567 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc,
1570 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type,
1602 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1604 : VarDecl(DK, C, DC, StartLoc, IdLoc, I
[all...]
H A DDeclTemplate.h1212 SourceLocation IdLoc, IdentifierInfo *Id,
1215 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1417 SourceLocation IdLoc, unsigned D, unsigned P,
1420 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1424 SourceLocation IdLoc, unsigned D, unsigned P,
1433 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1438 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1852 SourceLocation IdLoc,
1865 SourceLocation StartLoc, SourceLocation IdLoc,
2094 SourceLocation IdLoc,
1211 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Typename, bool HasTypeConstraint, Optional<unsigned> NumExpanded) argument
1416 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
[all...]
H A DDeclObjC.h1946 SourceLocation IdLoc, IdentifierInfo *Id,
1949 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW,
1955 SourceLocation StartLoc, SourceLocation IdLoc,
2005 SourceLocation IdLoc, IdentifierInfo *Id,
2007 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T,
2016 SourceLocation IdLoc, IdentifierInfo *Id,
1945 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
2004 ObjCAtDefsFieldDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DDeclCXX.h483 SourceLocation StartLoc, SourceLocation IdLoc,
544 SourceLocation StartLoc, SourceLocation IdLoc,
3850 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) argument
3851 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {}
3859 SourceLocation IdLoc, IdentifierInfo *Id);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp73 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
652 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, argument
666 return Error(IdLoc, "Instruction use requires option to be enabled");
668 return Error(IdLoc, "Unrecognized instruction mnemonic");
670 ErrorLoc = IdLoc;
673 return Error(IdLoc, "Too few operands for instruction");
677 ErrorLoc = IdLoc;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp635 SourceLocation IdLoc = ConsumeToken(); local
637 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII);
638 D.Name.setConstructorName(Type, IdLoc, IdLoc);
1169 SourceLocation IdLoc = ConsumeToken(); local
1178 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(),
1180 Diag(IdLoc, diag::err_unknown_template_name)
1186 TemplateName.setIdentifier(Id, IdLoc);
1212 *Id, IdLoc, getCurScope(), &SS, /*isClassName=*/true, false, nullptr,
1217 Diag(IdLoc, dia
3523 SourceLocation IdLoc = Tok.getLocation(); local
[all...]
H A DParseExprCXX.cpp447 SourceLocation IdLoc = ConsumeToken(); local
467 SS.SetInvalid(SourceRange(IdLoc, CCLoc));
2771 SourceLocation IdLoc = ConsumeToken();
2776 Result.setIdentifier(Id, IdLoc);
2784 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS,
2788 Result.setConstructorName(Ty, IdLoc, IdLoc);
2791 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc,
2794 Result.setDeductionGuideName(TemplateName, IdLoc);
2797 Result.setIdentifier(Id, IdLoc);
[all...]
H A DParseTemplate.cpp405 SourceLocation IdLoc = Result.getBeginLoc();
427 Id, IdLoc, ConstraintExpr);
H A DParseStmt.cpp1056 SourceLocation IdLoc = ConsumeToken(); local
1057 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
H A DParseOpenMP.cpp3194 SourceLocation IdLoc; local
3197 IdLoc = ConsumeToken();
3254 D.DeclIdentLoc = IdLoc;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1043 /// \param IdLoc the location of the parsed identifier.
1044 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { argument
1047 StartLocation = EndLocation = IdLoc;
1087 /// \param IdLoc the location of the identifier.
1089 SourceLocation IdLoc) {
1093 EndLocation = IdLoc;
2180 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { argument
2181 Name.setIdentifier(Id, IdLoc);
1088 setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, SourceLocation IdLoc) argument
H A DSema.h2895 SourceLocation IdLoc,
2909 SourceLocation IdLoc, IdentifierInfo *Id,
3809 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
3958 SourceLocation IdLoc,
4507 SourceLocation IdLoc, IdentifierInfo *Id,
4533 SourceLocation IdLoc,
6167 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, argument
6169 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc),
6173 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, argument
6176 IdentifierLoc(IdLoc), CCLo
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp1958 /// \param IdLoc The location of the name in the translation unit.
1966 SourceLocation IdLoc,
1970 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName);
1977 CorrectTypo(DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName,
17444 SourceLocation IdLoc,
17489 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy;
17491 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy;
17515 Diag(IdLoc, diag::ext_enum_value_not_int)
17573 Diag(IdLoc, diag::err_enumerator_wrapped)
17577 Diag(IdLoc, dia
1965 getObjCInterfaceDecl(IdentifierInfo *&Id, SourceLocation IdLoc, bool DoTypoCorrection) argument
17442 CheckEnumConstant(EnumDecl *Enum, EnumConstantDecl *LastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, Expr *Val) argument
17644 ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, const ParsedAttributesView &Attrs, SourceLocation EqualLoc, Expr *Val) argument
[all...]
H A DSemaDeclCXX.cpp4023 SourceLocation IdLoc,
4027 DS, IdLoc, InitList,
4039 SourceLocation IdLoc,
4046 DS, IdLoc, List, EllipsisLoc);
4101 SourceLocation IdLoc,
4143 << SourceRange(IdLoc, Init->getSourceRange().getEnd());
4145 return BuildMemberInitializer(Member, Init, IdLoc);
4161 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName);
4182 *MemberOrBase, IdLoc);
4190 TL.setNameLoc(IdLoc);
[all...]
H A DSemaDeclObjC.cpp5057 SourceLocation IdLoc,
5065 Diag(IdLoc, diag::err_arg_with_address_space);
5077 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm);
5082 Diag(IdLoc, diag::err_catch_param_not_objc_type);
5085 Diag(IdLoc, diag::err_catch_param_not_objc_type);
5088 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id,
5055 BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Invalid) argument
H A DTreeTransform.h1085 SourceLocation IdLoc,
1100 *Id, IdLoc, DeducedTSTContext);
1108 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
1139 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
1147 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << SomeDecl
1153 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope)
1161 IdLoc, Id)) {
2199 SourceLocation IdLoc,
2202 StartLoc, IdLoc, Id);
1081 RebuildDependentNameType(ElaboratedTypeKeyword Keyword, SourceLocation KeywordLoc, NestedNameSpecifierLoc QualifierLoc, const IdentifierInfo *Id, SourceLocation IdLoc, bool DeducedTSTContext) argument
2196 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id) argument
H A DSemaLookup.cpp2975 SourceLocation IdLoc,
2977 Decl *D = LookupSingleName(TUScope, II, IdLoc,
H A DSemaDeclAttr.cpp3490 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); local
3491 auto It = NameIdxMapping.find(IdLoc->Ident->getName());
3494 << IdLoc->Ident << IdLoc->Loc;
3498 SR = SourceRange(IdLoc->Loc);
H A DSemaOpenMP.cpp18513 SourceLocation IdLoc) {
18536 if (IdLoc.isValid() && Res && *Res == OMPDeclareTargetDeclAttr::MT_Link) {
18537 Diag(IdLoc, diag::err_omp_function_in_link_clause);
18554 OMPDeclareTargetDeclAttr::DT_Any, SourceRange(IdLoc, IdLoc));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp2399 SMLoc IdLoc = Lex.getLoc(); local
2414 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField)))
2577 SMLoc IdLoc = Lex.getLoc();
2606 return SetValue(CurRec, IdLoc, FieldName, BitList, Val);

Completed in 696 milliseconds

12