Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclTemplate.cpp698 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument
701 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
716 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
726 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack, in Create()
732 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, in Create() argument
740 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
891 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
895 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
912 SourceLocation IdLoc, in Create() argument
918 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
H A DDecl.cpp2001 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
2004 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2727 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2730 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
4138 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4142 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
4367 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl() argument
4369 : TagDecl(Enum, TTK_Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in EnumDecl()
4384 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4388 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
[all …]
H A DDeclCXX.cpp125 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()
2865 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
2867 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
2878 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2880 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create()
3174 SourceLocation IdLoc, IdentifierInfo *Id) { in Create() argument
3175 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
H A DDeclObjC.cpp1785 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1815 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1862 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1864 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExprObjC.h639 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()
688 SourceLocation IdLoc, SourceLocation ReceiverLoc, in ObjCPropertyRefExpr() argument
692 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { in ObjCPropertyRefExpr()
759 SourceLocation getLocation() const { return IdLoc; } in getLocation()
[all …]
H A DDecl.h533 SourceLocation StartLoc, SourceLocation IdLoc,
548 SourceLocation IdLoc, IdentifierInfo *Id,
1018 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1047 SourceLocation StartLoc, SourceLocation IdLoc,
1599 SourceLocation IdLoc, IdentifierInfo *Id,
1606 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1609 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1641 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1643 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1654 SourceLocation IdLoc, IdentifierInfo *Id,
[all …]
H A DDeclTemplate.h1209 SourceLocation IdLoc, IdentifierInfo *Id,
1212 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1414 SourceLocation IdLoc, unsigned D, unsigned P,
1417 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1421 SourceLocation IdLoc, unsigned D, unsigned P,
1430 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1435 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1849 SourceLocation IdLoc,
1862 SourceLocation StartLoc, SourceLocation IdLoc,
2091 SourceLocation IdLoc,
[all …]
H A DDeclObjC.h1931 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1934 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1940 SourceLocation StartLoc, SourceLocation IdLoc,
1990 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
1992 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
2001 SourceLocation IdLoc, IdentifierInfo *Id,
H A DDeclCXX.h483 SourceLocation StartLoc, SourceLocation IdLoc,
544 SourceLocation StartLoc, SourceLocation IdLoc,
3837 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() argument
3838 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {} in BindingDecl()
3846 SourceLocation IdLoc, IdentifierInfo *Id);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp73 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp634 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local
636 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator()
637 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator()
1195 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
1204 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier()
1206 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
1212 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1238 *Id, IdLoc, getCurScope(), &SS, /*isClassName=*/true, false, nullptr, in ParseBaseTypeSpecifier()
1243 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
1248 EndLocation = IdLoc; in ParseBaseTypeSpecifier()
[all …]
H A DParseExprCXX.cpp447 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
467 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2779 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2784 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2792 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId()
2796 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2799 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, in ParseUnqualifiedId()
2802 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId()
2805 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2813 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
H A DParseTemplate.cpp404 SourceLocation IdLoc = Result.getBeginLoc(); in ParseConceptDefinition() local
426 Id, IdLoc, ConstraintExpr); in ParseConceptDefinition()
H A DParseStmt.cpp1069 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
1070 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
H A DParseOpenMP.cpp3637 SourceLocation IdLoc; in ParseOpenMPIteratorsExpr() local
3640 IdLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr()
3697 D.DeclIdentLoc = IdLoc; in ParseOpenMPIteratorsExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDeclSpec.h1038 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
1041 StartLocation = EndLocation = IdLoc; in setIdentifier()
1083 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1087 EndLocation = IdLoc; in setLiteralOperatorId()
2197 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
2198 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
H A DSema.h3166 SourceLocation IdLoc,
3180 SourceLocation IdLoc, IdentifierInfo *Id,
4093 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
4240 SourceLocation IdLoc,
4803 SourceLocation IdLoc, IdentifierInfo *Id,
4829 SourceLocation IdLoc,
6423 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc,
6425 : ObjectType(ObjectType), Identifier(II), IdentifierLoc(IdLoc), in ObjectType()
6429 NestedNameSpecInfo(IdentifierInfo *II, SourceLocation IdLoc, in NestedNameSpecInfo()
6432 IdentifierLoc(IdLoc), CCLoc(ColonColonLoc) { in NestedNameSpecInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp2694 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
2700 BadField = AddValue(CurRec, IdLoc, in ParseDeclaration()
2701 RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
2707 BadField = AddValue(CurRec, IdLoc, RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
2713 BadField = AddValue(CurRec, IdLoc, RecordVal(DeclName, IdLoc, Type, in ParseDeclaration()
2884 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
2913 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclCXX.cpp4088 SourceLocation IdLoc, in ActOnMemInitializer() argument
4092 DS, IdLoc, InitList, in ActOnMemInitializer()
4104 SourceLocation IdLoc, in ActOnMemInitializer() argument
4111 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
4162 SourceLocation IdLoc, in BuildMemInitializer() argument
4204 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer()
4206 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
4222 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
4243 *MemberOrBase, IdLoc); in BuildMemInitializer()
4251 TL.setNameLoc(IdLoc); in BuildMemInitializer()
[all …]
H A DSemaDecl.cpp1978 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
1982 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1989 CorrectTypo(DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, in getObjCInterfaceDecl()
17675 SourceLocation IdLoc, in CheckEnumConstant() argument
17723 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
17725 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
17749 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
17807 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
17811 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant()
17831 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
[all …]
H A DSemaDeclObjC.cpp5122 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
5130 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
5142 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
5147 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
5150 Diag(IdLoc, diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
5153 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
H A DTreeTransform.h1087 SourceLocation IdLoc, in RebuildDependentNameType() argument
1102 *Id, IdLoc, DeducedTSTContext); in RebuildDependentNameType()
1110 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1141 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1149 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << SomeDecl in RebuildDependentNameType()
1155 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
1163 IdLoc, Id)) { in RebuildDependentNameType()
2298 SourceLocation IdLoc, in RebuildExceptionDecl() argument
2301 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
H A DSemaDeclAttr.cpp3549 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); in handleCallbackAttr() local
3550 auto It = NameIdxMapping.find(IdLoc->Ident->getName()); in handleCallbackAttr()
3553 << IdLoc->Ident << IdLoc->Loc; in handleCallbackAttr()
3557 SR = SourceRange(IdLoc->Loc); in handleCallbackAttr()
H A DSemaLookup.cpp3033 SourceLocation IdLoc, in LookupProtocol() argument
3035 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
H A DSemaTemplate.cpp10375 SourceLocation IdLoc) { in ActOnTypenameType() argument
10389 TypenameLoc, QualifierLoc, II, IdLoc, &TSI, in ActOnTypenameType()

12