/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 506 SourceLocation IdLoc, in NonTypeTemplateParmDecl() argument 514 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl() 530 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 534 return new (C) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, in Create() 540 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 550 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, in Create() 695 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument 700 : CXXRecordDecl(DK, TK, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl() 719 SourceLocation IdLoc, in Create() argument 727 TK, DC, StartLoc, IdLoc, in Create() [all …]
|
D | Decl.cpp | 1558 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 1562 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 2481 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2485 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 2656 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2660 EnumDecl *Enum = new (C) EnumDecl(DC, StartLoc, IdLoc, Id, PrevDecl, in Create() 2721 SourceLocation StartLoc, SourceLocation IdLoc, in RecordDecl() argument 2723 : TagDecl(DK, TK, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl() 2732 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2734 RecordDecl* R = new (C) RecordDecl(Record, TK, DC, StartLoc, IdLoc, Id, in Create() [all …]
|
D | DeclCXX.cpp | 72 SourceLocation StartLoc, SourceLocation IdLoc, in CXXRecordDecl() argument 74 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl() 80 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 83 CXXRecordDecl* R = new (C) CXXRecordDecl(CXXRecord, TK, DC, StartLoc, IdLoc, in Create() 1861 SourceLocation IdLoc, IdentifierInfo *Id, in NamespaceDecl() argument 1863 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl() 1874 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 1876 return new (C) NamespaceDecl(DC, Inline, StartLoc, IdLoc, Id, PrevDecl); in Create()
|
D | DeclObjC.cpp | 922 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument 952 return new (C) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 994 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 996 return new (C) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
|
D | ASTImporter.cpp | 3766 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitClassTemplateDecl() local 3769 DC, StartLoc, IdLoc, in VisitClassTemplateDecl() 3837 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitClassTemplateSpecializationDecl() local 3869 StartLoc, IdLoc, in VisitClassTemplateSpecializationDecl()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 409 SourceLocation IdLoc, IdentifierInfo *Id, 426 SourceLocation IdLoc, IdentifierInfo *Id, 816 SourceLocation IdLoc, IdentifierInfo *Id, in VarDecl() argument 819 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), Init() { in VarDecl() 845 SourceLocation StartLoc, SourceLocation IdLoc, 1219 SourceLocation IdLoc, IdentifierInfo *Id, 1224 ImplicitParamDecl(DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument 1226 : VarDecl(ImplicitParam, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl() 1245 SourceLocation IdLoc, IdentifierInfo *Id, in ParmVarDecl() argument 1248 : VarDecl(DK, DC, StartLoc, IdLoc, Id, T, TInfo, S, SCAsWritten) { in ParmVarDecl() [all …]
|
D | ExprObjC.h | 537 SourceLocation IdLoc; variable 554 IdLoc(l), ReceiverLoc(), Receiver(base) { in ObjCPropertyRefExpr() 565 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { in ObjCPropertyRefExpr() 571 SourceLocation IdLoc, Expr *Base) in ObjCPropertyRefExpr() argument 576 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) { in ObjCPropertyRefExpr() 582 SourceLocation IdLoc, in ObjCPropertyRefExpr() argument 586 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr() 592 SourceLocation IdLoc, in ObjCPropertyRefExpr() argument 596 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { in ObjCPropertyRefExpr() 662 SourceLocation getLocation() const { return IdLoc; } in getLocation() [all …]
|
D | DeclTemplate.h | 910 SourceLocation IdLoc, IdentifierInfo *Id, 912 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename), 1012 SourceLocation IdLoc, unsigned D, unsigned P, 1015 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), 1022 SourceLocation IdLoc, unsigned D, unsigned P, 1034 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, 1039 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, 1397 SourceLocation IdLoc, 1408 SourceLocation StartLoc, SourceLocation IdLoc, 1634 SourceLocation IdLoc, [all …]
|
D | DeclObjC.h | 1028 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument 1031 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl() 1037 SourceLocation StartLoc, SourceLocation IdLoc, 1085 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument 1087 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl() 1094 SourceLocation IdLoc, IdentifierInfo *Id,
|
D | DeclCXX.h | 653 SourceLocation StartLoc, SourceLocation IdLoc, 704 SourceLocation StartLoc, SourceLocation IdLoc,
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 849 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local 856 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier() 858 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier() 867 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier() 891 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, true, in ParseBaseTypeSpecifier() 897 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier() 902 EndLocation = IdLoc; in ParseBaseTypeSpecifier() 906 DS.SetRangeStart(IdLoc); in ParseBaseTypeSpecifier() 912 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type); in ParseBaseTypeSpecifier() 2542 SourceLocation IdLoc = Tok.getLocation(); in ParseMemInitializer() local [all …]
|
D | ParseExprCXX.cpp | 369 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local 375 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier() 377 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier() 2026 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local 2031 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId() 2038 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(), in ParseUnqualifiedId() 2043 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId() 2046 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId() 2051 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc, in ParseUnqualifiedId()
|
D | ParseStmt.cpp | 705 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local 706 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 896 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument 899 StartLocation = EndLocation = IdLoc; in setIdentifier() 941 SourceLocation IdLoc) { in setLiteralOperatorId() argument 945 EndLocation = IdLoc; in setLiteralOperatorId() 1744 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument 1745 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
|
D | Sema.h | 1511 SourceLocation IdLoc, 1519 SourceLocation IdLoc, IdentifierInfo *Id, 2140 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc, 2202 SourceLocation IdLoc, 2584 SourceLocation IdLoc, IdentifierInfo *Id, 2610 SourceLocation IdLoc, 3884 SourceLocation IdLoc, 4197 SourceLocation IdLoc, 4209 SourceLocation IdLoc, 4219 SourceLocation IdLoc, [all …]
|
/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 330 SourceLocation IdLoc, in isNonTypeNestedNameSpecifier() argument 334 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
|
D | SemaDeclCXX.cpp | 1793 SourceLocation IdLoc, in ActOnMemInitializer() argument 1797 DS, IdLoc, InitList, in ActOnMemInitializer() 1809 SourceLocation IdLoc, in ActOnMemInitializer() argument 1818 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer() 1854 SourceLocation IdLoc, in BuildMemInitializer() argument 1895 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer() 1897 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer() 1910 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer() 1931 *MemberOrBase, IdLoc); in BuildMemInitializer() 1958 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer() [all …]
|
D | SemaDecl.cpp | 1396 SourceLocation IdLoc, in getObjCInterfaceDecl() argument 1400 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl() 1406 if (TypoCorrection C = CorrectTypo(DeclarationNameInfo(Id, IdLoc), in getObjCInterfaceDecl() 1410 Diag(IdLoc, diag::err_undef_interface_suggest) in getObjCInterfaceDecl() 1412 << FixItHint::CreateReplacement(IdLoc, IDecl->getNameAsString()); in getObjCInterfaceDecl() 10318 SourceLocation IdLoc, in CheckEnumConstant() argument 10363 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant() 10366 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant() 10384 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant() 10442 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant() [all …]
|
D | SemaDeclObjC.cpp | 3075 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument 3083 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl() 3095 Diag(IdLoc ,diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl() 3098 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl() 3101 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
|
D | TreeTransform.h | 843 SourceLocation IdLoc) { in RebuildDependentNameType() argument 857 *Id, IdLoc); in RebuildDependentNameType() 864 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType() 895 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType() 906 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind; in RebuildDependentNameType() 912 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType() 920 IdLoc, *Id)) { in RebuildDependentNameType() 1292 SourceLocation IdLoc, in RebuildExceptionDecl() argument 1295 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
|
D | SemaTemplate.cpp | 6920 SourceLocation IdLoc) { in ActOnTypenameType() argument 6933 TypenameLoc, QualifierLoc, II, IdLoc); in ActOnTypenameType() 6942 TL.setNameLoc(IdLoc); in ActOnTypenameType() 6947 cast<TypeSpecTypeLoc>(TL.getNamedTypeLoc()).setNameLoc(IdLoc); in ActOnTypenameType()
|
D | SemaLookup.cpp | 2180 SourceLocation IdLoc, in LookupProtocol() argument 2182 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 1657 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local 1673 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration() 1824 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local 1850 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
|