Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclTemplate.cpp520 SourceLocation IdLoc, in NonTypeTemplateParmDecl() argument
528 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
544 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
548 return new (C) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, in Create()
554 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
564 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, in Create()
709 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
714 : CXXRecordDecl(DK, TK, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
733 SourceLocation IdLoc, in Create() argument
741 TK, DC, StartLoc, IdLoc, in Create()
[all …]
DDecl.cpp1561 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in VarDecl() argument
1563 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), Init() { in VarDecl()
2031 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2034 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
2971 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
2975 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3143 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3147 EnumDecl *Enum = new (C) EnumDecl(DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
3211 SourceLocation StartLoc, SourceLocation IdLoc, in RecordDecl() argument
3213 : TagDecl(DK, TK, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl()
[all …]
DDeclCXX.cpp77 SourceLocation StartLoc, SourceLocation IdLoc, in CXXRecordDecl() argument
79 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl()
85 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
88 CXXRecordDecl* R = new (C) CXXRecordDecl(CXXRecord, TK, DC, StartLoc, IdLoc, in Create()
1863 SourceLocation IdLoc, IdentifierInfo *Id, in NamespaceDecl() argument
1865 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
1876 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1878 return new (C) NamespaceDecl(DC, Inline, StartLoc, IdLoc, Id, PrevDecl); in Create()
DDeclObjC.cpp1325 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1355 return new (C) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
1397 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1399 return new (C) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
DASTImporter.cpp4021 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitClassTemplateDecl() local
4024 DC, StartLoc, IdLoc, in VisitClassTemplateDecl()
4092 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitClassTemplateSpecializationDecl() local
4124 StartLoc, IdLoc, in VisitClassTemplateSpecializationDecl()
4212 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitVarTemplateDecl() local
4215 IdLoc, Name.getAsIdentifierInfo(), T, in VisitVarTemplateDecl()
4288 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitVarTemplateSpecializationDecl() local
4325 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo, in VisitVarTemplateSpecializationDecl()
/external/clang/include/clang/AST/
DDecl.h344 SourceLocation IdLoc, IdentifierInfo *Id,
361 SourceLocation IdLoc, IdentifierInfo *Id,
753 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
773 SourceLocation StartLoc, SourceLocation IdLoc,
1178 SourceLocation IdLoc, IdentifierInfo *Id,
1183 ImplicitParamDecl(DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1185 : VarDecl(ImplicitParam, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1203 SourceLocation IdLoc, IdentifierInfo *Id, in ParmVarDecl() argument
1206 : VarDecl(DK, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1216 SourceLocation IdLoc, IdentifierInfo *Id,
[all …]
DExprObjC.h549 SourceLocation IdLoc;
566 IdLoc(l), ReceiverLoc(), Receiver(base) {
577 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
583 SourceLocation IdLoc, Expr *Base)
588 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) {
594 SourceLocation IdLoc,
598 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
604 SourceLocation IdLoc,
608 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) {
674 SourceLocation getLocation() const { return IdLoc; }
[all …]
DDeclTemplate.h943 SourceLocation IdLoc, IdentifierInfo *Id,
945 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1044 SourceLocation IdLoc, unsigned D, unsigned P,
1047 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1054 SourceLocation IdLoc, unsigned D, unsigned P,
1066 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1071 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1427 SourceLocation IdLoc,
1438 SourceLocation StartLoc, SourceLocation IdLoc,
1671 SourceLocation IdLoc,
[all …]
DDeclObjC.h1250 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1253 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1259 SourceLocation StartLoc, SourceLocation IdLoc,
1306 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
1308 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
1315 SourceLocation IdLoc, IdentifierInfo *Id,
DDeclCXX.h613 SourceLocation StartLoc, SourceLocation IdLoc,
662 SourceLocation StartLoc, SourceLocation IdLoc,
/external/clang/lib/Parse/
DParseDeclCXX.cpp501 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclaration() local
502 ParsedType Type = Actions.getInheritingConstructorName(SS, IdLoc, *LastII); in ParseUsingDeclaration()
503 Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclaration()
910 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
917 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier()
919 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
928 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
952 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, true, in ParseBaseTypeSpecifier()
958 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
963 EndLocation = IdLoc; in ParseBaseTypeSpecifier()
[all …]
DParseExprCXX.cpp433 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
441 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier()
443 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2209 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2214 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2221 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(), in ParseUnqualifiedId()
2226 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2229 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2234 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc, in ParseUnqualifiedId()
DParseStmt.cpp810 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
811 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
/external/clang/include/clang/Sema/
DDeclSpec.h917 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
920 StartLocation = EndLocation = IdLoc; in setIdentifier()
962 SourceLocation IdLoc) { in setLiteralOperatorId() argument
966 EndLocation = IdLoc; in setLiteralOperatorId()
1824 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
1825 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
DSema.h1741 SourceLocation IdLoc,
1749 SourceLocation IdLoc, IdentifierInfo *Id,
2433 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
2494 SourceLocation IdLoc,
2924 SourceLocation IdLoc, IdentifierInfo *Id,
2950 SourceLocation IdLoc,
4246 SourceLocation IdLoc,
4565 SourceLocation IdLoc,
4577 SourceLocation IdLoc,
4587 SourceLocation IdLoc,
[all …]
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp309 SourceLocation IdLoc, in isNonTypeNestedNameSpecifier() argument
313 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
DSemaDecl.cpp1441 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
1445 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1451 if (TypoCorrection C = CorrectTypo(DeclarationNameInfo(Id, IdLoc), in getObjCInterfaceDecl()
1455 Diag(IdLoc, diag::err_undef_interface_suggest) in getObjCInterfaceDecl()
1457 << FixItHint::CreateReplacement(IdLoc, IDecl->getNameAsString()); in getObjCInterfaceDecl()
11932 SourceLocation IdLoc, in CheckEnumConstant() argument
11977 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
11980 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
11998 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
12056 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
[all …]
DSemaDeclCXX.cpp2264 SourceLocation IdLoc, in ActOnMemInitializer() argument
2268 DS, IdLoc, InitList, in ActOnMemInitializer()
2280 SourceLocation IdLoc, in ActOnMemInitializer() argument
2288 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
2323 SourceLocation IdLoc, in BuildMemInitializer() argument
2364 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer()
2366 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
2379 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
2400 *MemberOrBase, IdLoc); in BuildMemInitializer()
2427 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
[all …]
DSemaDeclObjC.cpp3352 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
3360 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
3372 Diag(IdLoc ,diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
3375 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
3378 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
DTreeTransform.h870 SourceLocation IdLoc) { in RebuildDependentNameType() argument
884 *Id, IdLoc); in RebuildDependentNameType()
891 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
922 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
933 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind; in RebuildDependentNameType()
939 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
947 IdLoc, *Id)) { in RebuildDependentNameType()
1363 SourceLocation IdLoc, in RebuildExceptionDecl() argument
1366 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
DSemaTemplate.cpp7474 SourceLocation IdLoc) { in ActOnTypenameType() argument
7487 TypenameLoc, QualifierLoc, II, IdLoc); in ActOnTypenameType()
7496 TL.setNameLoc(IdLoc); in ActOnTypenameType()
7501 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc); in ActOnTypenameType()
DSemaLookup.cpp2312 SourceLocation IdLoc, in LookupProtocol() argument
2314 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
/external/llvm/lib/TableGen/
DTGParser.cpp1667 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
1683 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration()
1834 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
1860 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()