Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclTemplate.cpp516 SourceLocation IdLoc, in NonTypeTemplateParmDecl() argument
524 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
540 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
544 return new (C, DC) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, in Create()
550 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
559 DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
692 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
697 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
716 SourceLocation IdLoc, in Create() argument
723 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
DDecl.cpp1687 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
1690 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2184 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2187 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3238 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3242 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3413 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3417 EnumDecl *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
3489 SourceLocation IdLoc, IdentifierInfo *Id, in RecordDecl() argument
3491 : TagDecl(DK, TK, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl()
[all …]
DDeclCXX.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()
1937 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
1939 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
1950 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1952 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create()
DDeclObjC.cpp1400 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1430 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1472 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1474 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
DASTImporter.cpp4010 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitClassTemplateDecl() local
4013 DC, StartLoc, IdLoc, in VisitClassTemplateDecl()
4081 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitClassTemplateSpecializationDecl() local
4112 StartLoc, IdLoc, in VisitClassTemplateSpecializationDecl()
4200 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitVarTemplateDecl() local
4203 IdLoc, Name.getAsIdentifierInfo(), T, in VisitVarTemplateDecl()
4275 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitVarTemplateSpecializationDecl() local
4312 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo, in VisitVarTemplateSpecializationDecl()
/external/clang/include/clang/AST/
DExprObjC.h550 SourceLocation IdLoc;
567 IdLoc(l), ReceiverLoc(), Receiver(base) {
578 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
584 SourceLocation IdLoc, Expr *Base)
589 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) {
595 SourceLocation IdLoc,
599 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
605 SourceLocation IdLoc,
609 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) {
675 SourceLocation getLocation() const { return IdLoc; }
[all …]
DDecl.h357 SourceLocation StartLoc, SourceLocation IdLoc,
368 SourceLocation IdLoc, IdentifierInfo *Id,
771 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
796 SourceLocation StartLoc, SourceLocation IdLoc,
1215 SourceLocation IdLoc, IdentifierInfo *Id,
1220 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1222 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1240 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1242 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1252 SourceLocation IdLoc, IdentifierInfo *Id,
[all …]
DDeclTemplate.h952 SourceLocation IdLoc, IdentifierInfo *Id,
954 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1053 SourceLocation IdLoc, unsigned D, unsigned P,
1056 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1063 SourceLocation IdLoc, unsigned D, unsigned P,
1075 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1080 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1436 SourceLocation IdLoc,
1447 SourceLocation StartLoc, SourceLocation IdLoc,
1672 SourceLocation IdLoc,
[all …]
DDeclObjC.h1398 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1401 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1407 SourceLocation StartLoc, SourceLocation IdLoc,
1454 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
1456 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
1463 SourceLocation IdLoc, IdentifierInfo *Id,
DDeclCXX.h635 SourceLocation StartLoc, SourceLocation IdLoc,
677 SourceLocation StartLoc, SourceLocation IdLoc,
/external/clang/lib/Parse/
DParseDeclCXX.cpp527 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclaration() local
528 ParsedType Type = Actions.getInheritingConstructorName(SS, IdLoc, *LastII); in ParseUsingDeclaration()
529 Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclaration()
963 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
970 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier()
972 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
979 ParseTemplateIdAfterTemplateName(TemplateTy(), IdLoc, SS, in ParseBaseTypeSpecifier()
986 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1010 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, true, in ParseBaseTypeSpecifier()
1016 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
[all …]
DParseExprCXX.cpp456 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
466 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier()
478 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2330 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2335 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2342 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(), in ParseUnqualifiedId()
2347 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2350 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2355 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc, in ParseUnqualifiedId()
DParseStmt.cpp918 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
919 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
/external/clang/include/clang/Sema/
DDeclSpec.h933 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
936 StartLocation = EndLocation = IdLoc; in setIdentifier()
978 SourceLocation IdLoc) { in setLiteralOperatorId() argument
982 EndLocation = IdLoc; in setLiteralOperatorId()
1848 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
1849 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
DSema.h1881 SourceLocation IdLoc,
1889 SourceLocation IdLoc, IdentifierInfo *Id,
2592 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
2672 SourceLocation IdLoc,
3130 SourceLocation IdLoc, IdentifierInfo *Id,
3156 SourceLocation IdLoc,
4462 SourceLocation IdLoc,
4809 SourceLocation IdLoc,
4821 SourceLocation IdLoc,
4831 SourceLocation IdLoc,
[all …]
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp309 SourceLocation IdLoc, in isNonTypeNestedNameSpecifier() argument
313 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
DSemaDeclCXX.cpp2519 SourceLocation IdLoc, in ActOnMemInitializer() argument
2523 DS, IdLoc, InitList, in ActOnMemInitializer()
2535 SourceLocation IdLoc, in ActOnMemInitializer() argument
2543 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
2578 SourceLocation IdLoc, in BuildMemInitializer() argument
2619 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer()
2621 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
2634 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
2655 *MemberOrBase, IdLoc); in BuildMemInitializer()
2677 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
[all …]
DSemaDecl.cpp1531 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
1535 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1541 if (TypoCorrection C = CorrectTypo(DeclarationNameInfo(Id, IdLoc), in getObjCInterfaceDecl()
12682 SourceLocation IdLoc, in CheckEnumConstant() argument
12727 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
12730 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
12748 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
12806 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
12810 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant()
12830 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
[all …]
DSemaDeclObjC.cpp3327 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
3335 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
3347 Diag(IdLoc ,diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
3350 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
3353 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
DTreeTransform.h894 SourceLocation IdLoc) { in RebuildDependentNameType() argument
908 *Id, IdLoc); in RebuildDependentNameType()
915 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
946 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
957 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind; in RebuildDependentNameType()
962 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
970 IdLoc, *Id)) { in RebuildDependentNameType()
1562 SourceLocation IdLoc, in RebuildExceptionDecl() argument
1565 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
DSemaTemplate.cpp7724 SourceLocation IdLoc) { in ActOnTypenameType() argument
7737 TypenameLoc, QualifierLoc, II, IdLoc); in ActOnTypenameType()
7746 TL.setNameLoc(IdLoc); in ActOnTypenameType()
7751 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc); in ActOnTypenameType()
DSemaLookup.cpp2326 SourceLocation IdLoc, in LookupProtocol() argument
2328 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
/external/llvm/lib/TableGen/
DTGParser.cpp1704 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
1720 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration()
1871 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
1897 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()