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

/external/clang/lib/AST/
H A DDeclTemplate.cpp537 SourceLocation IdLoc,
545 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
561 SourceLocation StartLoc, SourceLocation IdLoc,
565 return new (C, DC) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id,
571 SourceLocation StartLoc, SourceLocation IdLoc,
580 DC, StartLoc, IdLoc, D, P, Id, T, TInfo,
713 SourceLocation IdLoc,
718 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc,
737 SourceLocation IdLoc,
744 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc,
535 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, const QualType *ExpandedTypes, unsigned NumExpandedTypes, TypeSourceInfo **ExpandedTInfos) argument
560 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
570 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, const QualType *ExpandedTypes, unsigned NumExpandedTypes, TypeSourceInfo **ExpandedTInfos) argument
711 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
734 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
823 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, const ASTTemplateArgumentListInfo *ArgInfos, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
846 Create(ASTContext &Context, TagKind TK,DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, const TemplateArgumentListInfo &ArgInfos, QualType CanonInjectedType, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
1073 VarTemplateSpecializationDecl( Kind DK, ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs) argument
1090 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs) argument
1136 VarTemplatePartialSpecializationDecl( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs, const ASTTemplateArgumentListInfo *ArgInfos) argument
1152 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs, const TemplateArgumentListInfo &ArgInfos) argument
[all...]
H A DDecl.cpp1763 SourceLocation StartLoc, SourceLocation IdLoc,
1766 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc),
2259 SourceLocation IdLoc, IdentifierInfo *Id,
2262 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo,
3305 SourceLocation StartLoc, SourceLocation IdLoc,
3309 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo,
3489 SourceLocation StartLoc, SourceLocation IdLoc,
3493 EnumDecl *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl,
3565 SourceLocation IdLoc, IdentifierInfo *Id,
3567 : TagDecl(DK, TK, C, DC, IdLoc, I
1762 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass SC) argument
2257 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) argument
3304 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, Expr *BW, bool Mutable, InClassInitStyle InitStyle) argument
3488 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, bool IsScoped, bool IsScopedUsingClassTag, bool IsFixed) argument
3563 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl *PrevDecl) argument
3576 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl* PrevDecl) argument
3834 Create(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id, QualType Type) argument
3926 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
3947 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
[all...]
H A DDeclCXX.cpp88 SourceLocation IdLoc, IdentifierInfo *Id,
90 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl),
97 SourceLocation IdLoc, IdentifierInfo *Id,
101 IdLoc, Id, PrevDecl);
1980 SourceLocation StartLoc, SourceLocation IdLoc,
1982 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace),
1993 SourceLocation IdLoc, IdentifierInfo *Id,
1995 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id,
86 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl *PrevDecl) argument
95 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl* PrevDecl, bool DelayTypeCreation) argument
1979 NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
1991 Create(ASTContext &C, DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
H A DDeclObjC.cpp1431 SourceLocation IdLoc, IdentifierInfo *Id,
1461 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW,
1503 SourceLocation StartLoc, SourceLocation IdLoc,
1505 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW);
1429 Create(ASTContext &C, ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
1502 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DASTImporter.cpp4067 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); local
4070 DC, StartLoc, IdLoc,
4138 SourceLocation IdLoc = Importer.Import(D->getLocation()); local
4169 StartLoc, IdLoc,
4257 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); local
4260 IdLoc, Name.getAsIdentifierInfo(), T,
4332 SourceLocation IdLoc = Importer.Import(D->getLocation()); local
4369 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo,
/external/clang/include/clang/AST/
H A DExprObjC.h559 SourceLocation IdLoc; member in class:clang::ObjCPropertyRefExpr
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,
591 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, Expr *Base) argument
602 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation SuperLoc, QualType SuperTy) argument
612 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver) argument
[all...]
H A DDecl.h414 SourceLocation StartLoc, SourceLocation IdLoc,
425 SourceLocation IdLoc, IdentifierInfo *Id,
826 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
851 SourceLocation StartLoc, SourceLocation IdLoc,
1275 SourceLocation IdLoc, IdentifierInfo *Id,
1280 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc,
1282 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type,
1300 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1302 : VarDecl(DK, C, DC, StartLoc, IdLoc, I
[all...]
H A DDeclTemplate.h953 SourceLocation IdLoc, IdentifierInfo *Id,
955 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1054 SourceLocation IdLoc, unsigned D, unsigned P,
1057 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1064 SourceLocation IdLoc, unsigned D, unsigned P,
1076 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1081 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1437 SourceLocation IdLoc,
1448 SourceLocation StartLoc, SourceLocation IdLoc,
1673 SourceLocation IdLoc,
952 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Typename) argument
1053 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
[all...]
H A DDeclObjC.h1403 SourceLocation IdLoc, IdentifierInfo *Id,
1406 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW,
1412 SourceLocation StartLoc, SourceLocation IdLoc,
1459 SourceLocation IdLoc, IdentifierInfo *Id,
1461 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T,
1468 SourceLocation IdLoc, IdentifierInfo *Id,
1402 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
1458 ObjCAtDefsFieldDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DDeclCXX.h641 SourceLocation StartLoc, SourceLocation IdLoc,
683 SourceLocation StartLoc, SourceLocation IdLoc,
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp543 SourceLocation IdLoc = ConsumeToken(); local
544 ParsedType Type = Actions.getInheritingConstructorName(SS, IdLoc, *LastII);
545 Name.setConstructorName(Type, IdLoc, IdLoc);
985 SourceLocation IdLoc = ConsumeToken(); local
992 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(),
994 Diag(IdLoc, diag::err_unknown_template_name)
1001 ParseTemplateIdAfterTemplateName(TemplateTy(), IdLoc, SS, local
1008 TemplateName.setIdentifier(Id, IdLoc);
1032 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScop
3183 SourceLocation IdLoc = Tok.getLocation(); local
[all...]
H A DParseExprCXX.cpp489 SourceLocation IdLoc = ConsumeToken(); local
499 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc,
511 SS.SetInvalid(SourceRange(IdLoc, CCLoc));
2396 SourceLocation IdLoc = ConsumeToken(); local
2401 Result.setIdentifier(Id, IdLoc);
2408 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(),
2413 Result.setConstructorName(Ty, IdLoc, IdLoc);
2416 Result.setIdentifier(Id, IdLoc);
2421 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc,
[all...]
H A DParseStmt.cpp933 SourceLocation IdLoc = ConsumeToken(); local
934 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
/external/clang/include/clang/Sema/
H A DDeclSpec.h949 /// \param IdLoc the location of the parsed identifier.
950 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { argument
953 StartLocation = EndLocation = IdLoc;
993 /// \param IdLoc the location of the identifier.
995 SourceLocation IdLoc) {
999 EndLocation = IdLoc;
1892 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { argument
1893 Name.setIdentifier(Id, IdLoc);
994 setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, SourceLocation IdLoc) argument
H A DSema.h1840 SourceLocation IdLoc,
1848 SourceLocation IdLoc, IdentifierInfo *Id,
2604 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
2707 SourceLocation IdLoc,
3200 SourceLocation IdLoc, IdentifierInfo *Id,
3226 SourceLocation IdLoc,
4579 SourceLocation IdLoc,
4926 SourceLocation IdLoc,
4938 SourceLocation IdLoc,
4948 SourceLocation IdLoc,
[all...]
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp357 SourceLocation IdLoc,
361 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName);
356 isNonTypeNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, SourceLocation IdLoc, IdentifierInfo &II, ParsedType ObjectTypePtr) argument
H A DSemaDeclCXX.cpp2814 SourceLocation IdLoc,
2818 DS, IdLoc, InitList,
2830 SourceLocation IdLoc,
2838 DS, IdLoc, List, EllipsisLoc);
2873 SourceLocation IdLoc,
2918 << SourceRange(IdLoc, Init->getSourceRange().getEnd());
2920 return BuildMemberInitializer(Member, Init, IdLoc);
2933 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName);
2954 *MemberOrBase, IdLoc);
2977 return BuildMemberInitializer(Member, Init, IdLoc);
2808 ActOnMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, Expr *InitList, SourceLocation EllipsisLoc) argument
2824 ActOnMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, SourceLocation LParenLoc, ArrayRef<Expr *> Args, SourceLocation RParenLoc, SourceLocation EllipsisLoc) argument
2867 BuildMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, Expr *Init, SourceLocation EllipsisLoc) argument
3029 CheckForDanglingReferenceOrPointer(Sema &S, ValueDecl *Member, Expr *Init, SourceLocation IdLoc) argument
3075 BuildMemberInitializer(ValueDecl *Member, Expr *Init, SourceLocation IdLoc) argument
[all...]
H A DSemaDeclObjC.cpp3385 SourceLocation IdLoc,
3393 Diag(IdLoc, diag::err_arg_with_address_space);
3405 Diag(IdLoc ,diag::err_catch_param_not_objc_type);
3408 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm);
3411 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id,
3383 BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Invalid) argument
H A DSemaDecl.cpp1611 /// \param IdLoc The location of the name in the translation unit.
1619 SourceLocation IdLoc,
1623 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName);
1629 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr,
13256 SourceLocation IdLoc,
13301 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy;
13304 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy;
13322 Diag(IdLoc, diag::ext_enum_value_not_int)
13380 Diag(IdLoc, diag::err_enumerator_wrapped)
13384 Diag(IdLoc, dia
1618 getObjCInterfaceDecl(IdentifierInfo *&Id, SourceLocation IdLoc, bool DoTypoCorrection) argument
13254 CheckEnumConstant(EnumDecl *Enum, EnumConstantDecl *LastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, Expr *Val) argument
13426 ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, AttributeList *Attr, SourceLocation EqualLoc, Expr *Val) argument
[all...]
H A DTreeTransform.h921 SourceLocation IdLoc) {
935 *Id, IdLoc);
942 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
973 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
984 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind;
989 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope)
997 IdLoc, *Id)) {
1612 SourceLocation IdLoc,
1615 StartLoc, IdLoc, Id);
917 RebuildDependentNameType(ElaboratedTypeKeyword Keyword, SourceLocation KeywordLoc, NestedNameSpecifierLoc QualifierLoc, const IdentifierInfo *Id, SourceLocation IdLoc) argument
1609 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id) argument
H A DSemaTemplate.cpp7886 SourceLocation IdLoc) {
7899 TypenameLoc, QualifierLoc, II, IdLoc);
7908 TL.setNameLoc(IdLoc);
7913 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc);
7884 ActOnTypenameType(Scope *S, SourceLocation TypenameLoc, const CXXScopeSpec &SS, const IdentifierInfo &II, SourceLocation IdLoc) argument
H A DSemaLookup.cpp2379 SourceLocation IdLoc,
2381 Decl *D = LookupSingleName(TUScope, II, IdLoc,
2378 LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc, RedeclarationKind Redecl) argument
/external/llvm/lib/TableGen/
H A DTGParser.cpp1741 SMLoc IdLoc = Lex.getLoc(); local
1757 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField)))
1911 SMLoc IdLoc = Lex.getLoc();
1937 return SetValue(CurRec, IdLoc, FieldName, BitList, Val);

Completed in 4677 milliseconds