Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclTemplate.cpp543 SourceLocation IdLoc, in NonTypeTemplateParmDecl() argument
551 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
565 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
569 return new (C, DC) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, in Create()
575 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
584 DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
729 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
734 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
753 SourceLocation IdLoc, in Create() argument
760 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
HDDecl.cpp1769 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
1772 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2278 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2281 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3320 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3324 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3504 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3508 EnumDecl *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
3580 SourceLocation IdLoc, IdentifierInfo *Id, in RecordDecl() argument
3582 : TagDecl(DK, TK, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl()
[all …]
HDDeclCXX.cpp88 SourceLocation IdLoc, IdentifierInfo *Id, in CXXRecordDecl() argument
90 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl()
97 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
101 IdLoc, Id, PrevDecl); in Create()
2002 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
2004 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
2015 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2017 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create()
HDDeclObjC.cpp1591 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1621 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1668 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1670 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
HDASTImporter.cpp4244 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitClassTemplateDecl() local
4247 DC, StartLoc, IdLoc, in VisitClassTemplateDecl()
4315 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitClassTemplateSpecializationDecl() local
4346 StartLoc, IdLoc, in VisitClassTemplateSpecializationDecl()
4437 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitVarTemplateDecl() local
4440 IdLoc, Name.getAsIdentifierInfo(), T, in VisitVarTemplateDecl()
4512 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitVarTemplateSpecializationDecl() local
4549 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo, in VisitVarTemplateSpecializationDecl()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDExprObjC.h559 SourceLocation IdLoc;
576 IdLoc(l), ReceiverLoc(), Receiver(base) {
587 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
593 SourceLocation IdLoc, Expr *Base)
598 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) {
604 SourceLocation IdLoc,
608 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
614 SourceLocation IdLoc,
618 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) {
684 SourceLocation getLocation() const { return IdLoc; }
[all …]
HDDecl.h416 SourceLocation StartLoc, SourceLocation IdLoc,
427 SourceLocation IdLoc, IdentifierInfo *Id,
836 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
861 SourceLocation StartLoc, SourceLocation IdLoc,
1316 SourceLocation IdLoc, IdentifierInfo *Id,
1321 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1323 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1341 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1343 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1353 SourceLocation IdLoc, IdentifierInfo *Id,
[all …]
HDDeclTemplate.h1033 SourceLocation IdLoc, IdentifierInfo *Id,
1035 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1145 SourceLocation IdLoc, unsigned D, unsigned P,
1148 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1154 SourceLocation IdLoc, unsigned D, unsigned P,
1166 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1171 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1522 SourceLocation IdLoc,
1533 SourceLocation StartLoc, SourceLocation IdLoc,
1758 SourceLocation IdLoc,
[all …]
HDDeclObjC.h1622 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1625 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1631 SourceLocation StartLoc, SourceLocation IdLoc,
1682 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
1684 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
1691 SourceLocation IdLoc, IdentifierInfo *Id,
HDDeclCXX.h641 SourceLocation StartLoc, SourceLocation IdLoc,
683 SourceLocation StartLoc, SourceLocation IdLoc,
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseDeclCXX.cpp543 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclaration() local
544 ParsedType Type = Actions.getInheritingConstructorName(SS, IdLoc, *LastII); in ParseUsingDeclaration()
545 Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclaration()
986 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
993 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier()
995 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
1002 ParseTemplateIdAfterTemplateName(TemplateTy(), IdLoc, SS, in ParseBaseTypeSpecifier()
1009 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1033 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, true, in ParseBaseTypeSpecifier()
1039 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
[all …]
HDParseExprCXX.cpp489 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
499 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier()
511 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2387 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2392 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2399 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(), in ParseUnqualifiedId()
2404 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2407 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2412 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc, in ParseUnqualifiedId()
HDParseStmt.cpp930 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
931 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDDeclSpec.h973 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
976 StartLocation = EndLocation = IdLoc; in setIdentifier()
1018 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1022 EndLocation = IdLoc; in setLiteralOperatorId()
1924 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
1925 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
HDSema.h1963 SourceLocation IdLoc,
1976 SourceLocation IdLoc, IdentifierInfo *Id,
2733 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
2862 SourceLocation IdLoc,
3381 SourceLocation IdLoc, IdentifierInfo *Id,
3407 SourceLocation IdLoc,
4760 SourceLocation IdLoc,
5111 SourceLocation IdLoc,
5123 SourceLocation IdLoc,
5133 SourceLocation IdLoc,
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCXXScopeSpec.cpp357 SourceLocation IdLoc, in isNonTypeNestedNameSpecifier() argument
361 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
HDSemaDeclCXX.cpp2785 SourceLocation IdLoc, in ActOnMemInitializer() argument
2789 DS, IdLoc, InitList, in ActOnMemInitializer()
2801 SourceLocation IdLoc, in ActOnMemInitializer() argument
2809 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
2844 SourceLocation IdLoc, in BuildMemInitializer() argument
2889 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer()
2891 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
2904 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
2925 *MemberOrBase, IdLoc); in BuildMemInitializer()
2948 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
[all …]
HDSemaDecl.cpp1634 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
1638 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1644 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr, in getObjCInterfaceDecl()
13509 SourceLocation IdLoc, in CheckEnumConstant() argument
13554 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
13557 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
13575 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
13633 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
13637 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant()
13657 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
[all …]
HDSemaDeclObjC.cpp4368 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
4376 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
4388 Diag(IdLoc ,diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
4391 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
4394 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
HDTreeTransform.h937 SourceLocation IdLoc) { in RebuildDependentNameType() argument
951 *Id, IdLoc); in RebuildDependentNameType()
958 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
989 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1000 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind; in RebuildDependentNameType()
1005 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
1013 IdLoc, Id)) { in RebuildDependentNameType()
1642 SourceLocation IdLoc, in RebuildExceptionDecl() argument
1645 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
HDSemaTemplate.cpp7957 SourceLocation IdLoc) { in ActOnTypenameType() argument
7970 TypenameLoc, QualifierLoc, II, IdLoc); in ActOnTypenameType()
7979 TL.setNameLoc(IdLoc); in ActOnTypenameType()
7984 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc); in ActOnTypenameType()
HDSemaLookup.cpp2521 SourceLocation IdLoc, in LookupProtocol() argument
2523 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
/NextBSD/contrib/llvm/lib/TableGen/
HDTGParser.cpp1707 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
1722 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration()
1876 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
1902 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()