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

/external/clang/lib/AST/
H A DDeclTemplate.cpp516 SourceLocation IdLoc,
524 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
540 SourceLocation StartLoc, SourceLocation IdLoc,
544 return new (C, DC) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id,
550 SourceLocation StartLoc, SourceLocation IdLoc,
559 DC, StartLoc, IdLoc, D, P, Id, T, TInfo,
692 SourceLocation IdLoc,
697 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc,
716 SourceLocation IdLoc,
723 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc,
514 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
539 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
549 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
690 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
713 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
802 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
825 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
1057 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
1074 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs) argument
1120 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
1136 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.cpp1687 SourceLocation StartLoc, SourceLocation IdLoc,
1690 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc),
2184 SourceLocation IdLoc, IdentifierInfo *Id,
2187 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo,
3238 SourceLocation StartLoc, SourceLocation IdLoc,
3242 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo,
3413 SourceLocation StartLoc, SourceLocation IdLoc,
3417 EnumDecl *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl,
3489 SourceLocation IdLoc, IdentifierInfo *Id,
3491 : TagDecl(DK, TK, C, DC, IdLoc, I
1686 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass SC) argument
2182 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) argument
3237 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, Expr *BW, bool Mutable, InClassInitStyle InitStyle) argument
3412 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, bool IsScoped, bool IsScopedUsingClassTag, bool IsFixed) argument
3487 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl *PrevDecl) argument
3500 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl* PrevDecl) argument
3672 Create(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id, QualType Type) argument
3764 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
3777 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);
1937 SourceLocation StartLoc, SourceLocation IdLoc,
1939 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace),
1950 SourceLocation IdLoc, IdentifierInfo *Id,
1952 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
1936 NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
1948 Create(ASTContext &C, DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
H A DDeclObjC.cpp1400 SourceLocation IdLoc, IdentifierInfo *Id,
1430 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW,
1472 SourceLocation StartLoc, SourceLocation IdLoc,
1474 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW);
1398 Create(ASTContext &C, ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
1471 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DASTImporter.cpp4010 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); local
4013 DC, StartLoc, IdLoc,
4081 SourceLocation IdLoc = Importer.Import(D->getLocation()); local
4112 StartLoc, IdLoc,
4200 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); local
4203 IdLoc, Name.getAsIdentifierInfo(), T,
4275 SourceLocation IdLoc = Importer.Import(D->getLocation()); local
4312 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo,
/external/clang/include/clang/AST/
H A DExprObjC.h550 SourceLocation IdLoc; member in class:clang::ObjCPropertyRefExpr
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,
582 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, Expr *Base) argument
593 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation SuperLoc, QualType SuperTy) argument
603 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver) argument
[all...]
H A 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,
1222 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type,
1240 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1242 : VarDecl(DK, C, DC, StartLoc, IdLoc, I
[all...]
H A 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,
951 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Typename) argument
1052 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
[all...]
H A DDeclObjC.h1398 SourceLocation IdLoc, IdentifierInfo *Id,
1401 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW,
1407 SourceLocation StartLoc, SourceLocation IdLoc,
1454 SourceLocation IdLoc, IdentifierInfo *Id,
1456 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T,
1463 SourceLocation IdLoc, IdentifierInfo *Id,
1397 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
1453 ObjCAtDefsFieldDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DDeclCXX.h635 SourceLocation StartLoc, SourceLocation IdLoc,
677 SourceLocation StartLoc, SourceLocation IdLoc,
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp527 SourceLocation IdLoc = ConsumeToken(); local
528 ParsedType Type = Actions.getInheritingConstructorName(SS, IdLoc, *LastII);
529 Name.setConstructorName(Type, IdLoc, IdLoc);
963 SourceLocation IdLoc = ConsumeToken(); local
970 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(),
972 Diag(IdLoc, diag::err_unknown_template_name)
979 ParseTemplateIdAfterTemplateName(TemplateTy(), IdLoc, SS, local
986 TemplateName.setIdentifier(Id, IdLoc);
1010 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScop
2880 SourceLocation IdLoc = Tok.getLocation(); local
[all...]
H A DParseExprCXX.cpp456 SourceLocation IdLoc = ConsumeToken(); local
466 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc,
478 SS.SetInvalid(SourceRange(IdLoc, CCLoc));
2330 SourceLocation IdLoc = ConsumeToken(); local
2335 Result.setIdentifier(Id, IdLoc);
2342 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(),
2347 Result.setConstructorName(Ty, IdLoc, IdLoc);
2350 Result.setIdentifier(Id, IdLoc);
2355 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc,
[all...]
H A DParseStmt.cpp918 SourceLocation IdLoc = ConsumeToken(); local
919 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
/external/clang/include/clang/Sema/
H A DDeclSpec.h932 /// \param IdLoc the location of the parsed identifier.
933 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { argument
936 StartLocation = EndLocation = IdLoc;
976 /// \param IdLoc the location of the identifier.
978 SourceLocation IdLoc) {
982 EndLocation = IdLoc;
1848 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { argument
1849 Name.setIdentifier(Id, IdLoc);
977 setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, SourceLocation IdLoc) argument
H A 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/
H A DSemaCXXScopeSpec.cpp309 SourceLocation IdLoc,
313 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName);
308 isNonTypeNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, SourceLocation IdLoc, IdentifierInfo &II, ParsedType ObjectTypePtr) argument
H A DSemaDeclCXX.cpp2519 SourceLocation IdLoc,
2523 DS, IdLoc, InitList,
2535 SourceLocation IdLoc,
2543 DS, IdLoc, List, EllipsisLoc);
2578 SourceLocation IdLoc,
2619 << SourceRange(IdLoc, Init->getSourceRange().getEnd());
2621 return BuildMemberInitializer(Member, Init, IdLoc);
2634 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName);
2655 *MemberOrBase, IdLoc);
2677 return BuildMemberInitializer(Member, Init, IdLoc);
2513 ActOnMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, Expr *InitList, SourceLocation EllipsisLoc) argument
2529 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
2572 BuildMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, Expr *Init, SourceLocation EllipsisLoc) argument
2728 CheckForDanglingReferenceOrPointer(Sema &S, ValueDecl *Member, Expr *Init, SourceLocation IdLoc) argument
2774 BuildMemberInitializer(ValueDecl *Member, Expr *Init, SourceLocation IdLoc) argument
[all...]
H A DSemaDeclObjC.cpp3327 SourceLocation IdLoc,
3335 Diag(IdLoc, diag::err_arg_with_address_space);
3347 Diag(IdLoc ,diag::err_catch_param_not_objc_type);
3350 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm);
3353 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id,
3325 BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Invalid) argument
H A DSemaDecl.cpp1523 /// \param IdLoc The location of the name in the translation unit.
1531 SourceLocation IdLoc,
1535 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName);
1541 if (TypoCorrection C = CorrectTypo(DeclarationNameInfo(Id, IdLoc),
12682 SourceLocation IdLoc,
12727 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy;
12730 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy;
12748 Diag(IdLoc, diag::ext_enum_value_not_int)
12806 Diag(IdLoc, diag::err_enumerator_wrapped)
12810 Diag(IdLoc, dia
1530 getObjCInterfaceDecl(IdentifierInfo *&Id, SourceLocation IdLoc, bool DoTypoCorrection) argument
12680 CheckEnumConstant(EnumDecl *Enum, EnumConstantDecl *LastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, Expr *Val) argument
12852 ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, AttributeList *Attr, SourceLocation EqualLoc, Expr *Val) argument
[all...]
H A DTreeTransform.h894 SourceLocation IdLoc) {
908 *Id, IdLoc);
915 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
946 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
957 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind;
962 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope)
970 IdLoc, *Id)) {
1562 SourceLocation IdLoc,
1565 StartLoc, IdLoc, Id);
890 RebuildDependentNameType(ElaboratedTypeKeyword Keyword, SourceLocation KeywordLoc, NestedNameSpecifierLoc QualifierLoc, const IdentifierInfo *Id, SourceLocation IdLoc) argument
1559 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id) argument
H A DSemaTemplate.cpp7724 SourceLocation IdLoc) {
7737 TypenameLoc, QualifierLoc, II, IdLoc);
7746 TL.setNameLoc(IdLoc);
7751 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc);
7722 ActOnTypenameType(Scope *S, SourceLocation TypenameLoc, const CXXScopeSpec &SS, const IdentifierInfo &II, SourceLocation IdLoc) argument
H A DSemaLookup.cpp2326 SourceLocation IdLoc,
2328 Decl *D = LookupSingleName(TUScope, II, IdLoc,
2325 LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc, RedeclarationKind Redecl) argument
/external/llvm/lib/TableGen/
H A DTGParser.cpp1704 SMLoc IdLoc = Lex.getLoc(); local
1720 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField)))
1871 SMLoc IdLoc = Lex.getLoc();
1897 return SetValue(CurRec, IdLoc, FieldName, BitList, Val);

Completed in 648 milliseconds