Searched defs:IdLoc (Results 1 - 20 of 20) sorted by relevance

/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp330 SourceLocation IdLoc,
334 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName);
329 isNonTypeNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, SourceLocation IdLoc, IdentifierInfo &II, ParsedType ObjectTypePtr) argument
H A DSemaDeclObjC.cpp3075 SourceLocation IdLoc,
3083 Diag(IdLoc, diag::err_arg_with_address_space);
3095 Diag(IdLoc ,diag::err_catch_param_not_objc_type);
3098 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm);
3101 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id,
3073 BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Invalid) argument
H A DSemaLookup.cpp2180 SourceLocation IdLoc,
2182 Decl *D = LookupSingleName(TUScope, II, IdLoc,
2179 LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc, RedeclarationKind Redecl) argument
H A DSemaTemplate.cpp6920 SourceLocation IdLoc) {
6933 TypenameLoc, QualifierLoc, II, IdLoc);
6942 TL.setNameLoc(IdLoc);
6947 cast<TypeSpecTypeLoc>(TL.getNamedTypeLoc()).setNameLoc(IdLoc);
6918 ActOnTypenameType(Scope *S, SourceLocation TypenameLoc, const CXXScopeSpec &SS, const IdentifierInfo &II, SourceLocation IdLoc) argument
H A DSemaDecl.cpp1388 /// \param IdLoc The location of the name in the translation unit.
1396 SourceLocation IdLoc,
1400 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName);
1406 if (TypoCorrection C = CorrectTypo(DeclarationNameInfo(Id, IdLoc),
1410 Diag(IdLoc, diag::err_undef_interface_suggest)
1412 << FixItHint::CreateReplacement(IdLoc, IDecl->getNameAsString());
10318 SourceLocation IdLoc,
10363 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy;
10366 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy;
10384 Diag(IdLoc, dia
1395 getObjCInterfaceDecl(IdentifierInfo *&Id, SourceLocation IdLoc, bool DoTypoCorrection) argument
10316 CheckEnumConstant(EnumDecl *Enum, EnumConstantDecl *LastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, Expr *Val) argument
10488 ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, AttributeList *Attr, SourceLocation EqualLoc, Expr *Val) argument
[all...]
H A DSemaDeclCXX.cpp1793 SourceLocation IdLoc,
1797 DS, IdLoc, InitList,
1809 SourceLocation IdLoc,
1818 DS, IdLoc, List, EllipsisLoc);
1854 SourceLocation IdLoc,
1895 << SourceRange(IdLoc, Init->getSourceRange().getEnd());
1897 return BuildMemberInitializer(Member, Init, IdLoc);
1910 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName);
1931 *MemberOrBase, IdLoc);
1958 return BuildMemberInitializer(Member, Init, IdLoc);
1787 ActOnMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, Expr *InitList, SourceLocation EllipsisLoc) argument
1803 ActOnMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, SourceLocation LParenLoc, Expr **Args, unsigned NumArgs, SourceLocation RParenLoc, SourceLocation EllipsisLoc) argument
1848 BuildMemInitializer(Decl *ConstructorD, Scope *S, CXXScopeSpec &SS, IdentifierInfo *MemberOrBase, ParsedType TemplateTypeTy, const DeclSpec &DS, SourceLocation IdLoc, Expr *Init, SourceLocation EllipsisLoc) argument
2011 CheckForDanglingReferenceOrPointer(Sema &S, ValueDecl *Member, Expr *Init, SourceLocation IdLoc) argument
2158 BuildMemberInitializer(ValueDecl *Member, Expr *Init, SourceLocation IdLoc) argument
[all...]
H A DTreeTransform.h843 SourceLocation IdLoc) {
857 *Id, IdLoc);
864 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
895 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
906 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind;
912 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope)
920 IdLoc, *Id)) {
1292 SourceLocation IdLoc,
1295 StartLoc, IdLoc, Id);
839 RebuildDependentNameType(ElaboratedTypeKeyword Keyword, SourceLocation KeywordLoc, NestedNameSpecifierLoc QualifierLoc, const IdentifierInfo *Id, SourceLocation IdLoc) argument
1289 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id) argument
/external/clang/lib/AST/
H A DDeclObjC.cpp922 SourceLocation IdLoc, IdentifierInfo *Id,
952 return new (C) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo,
994 SourceLocation StartLoc, SourceLocation IdLoc,
996 return new (C) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW);
920 Create(ASTContext &C, ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
993 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DDeclTemplate.cpp506 SourceLocation IdLoc,
514 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
530 SourceLocation StartLoc, SourceLocation IdLoc,
534 return new (C) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id,
540 SourceLocation StartLoc, SourceLocation IdLoc,
550 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc,
695 SourceLocation IdLoc,
700 : CXXRecordDecl(DK, TK, DC, StartLoc, IdLoc,
719 SourceLocation IdLoc,
727 TK, DC, StartLoc, IdLoc,
504 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
529 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
539 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
693 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
716 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
795 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, TemplateArgumentLoc *ArgInfos, unsigned NumArgInfos, ClassTemplatePartialSpecializationDecl *PrevDecl, unsigned SequenceNumber) argument
821 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, unsigned SequenceNumber) argument
[all...]
H A DDeclCXX.cpp72 SourceLocation StartLoc, SourceLocation IdLoc,
74 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl),
80 SourceLocation IdLoc, IdentifierInfo *Id,
83 CXXRecordDecl* R = new (C) CXXRecordDecl(CXXRecord, TK, DC, StartLoc, IdLoc,
1861 SourceLocation IdLoc, IdentifierInfo *Id,
1863 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace),
1874 SourceLocation IdLoc, IdentifierInfo *Id,
1876 return new (C) NamespaceDecl(DC, Inline, StartLoc, IdLoc, Id, PrevDecl);
71 CXXRecordDecl(Kind K, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl *PrevDecl) argument
78 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl* PrevDecl, bool DelayTypeCreation) argument
1859 NamespaceDecl(DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
1872 Create(ASTContext &C, DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
H A DASTImporter.cpp3766 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); local
3769 DC, StartLoc, IdLoc,
3837 SourceLocation IdLoc = Importer.Import(D->getLocation()); local
3869 StartLoc, IdLoc,
H A DDecl.cpp1558 SourceLocation IdLoc, IdentifierInfo *Id,
1562 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo,
2481 SourceLocation StartLoc, SourceLocation IdLoc,
2485 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo,
2656 SourceLocation StartLoc, SourceLocation IdLoc,
2660 EnumDecl *Enum = new (C) EnumDecl(DC, StartLoc, IdLoc, Id, PrevDecl,
2721 SourceLocation StartLoc, SourceLocation IdLoc,
2723 : TagDecl(DK, TK, DC, IdLoc, Id, PrevDecl, StartLoc) {
2732 SourceLocation StartLoc, SourceLocation IdLoc,
2734 RecordDecl* R = new (C) RecordDecl(Record, TK, DC, StartLoc, IdLoc, I
1556 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, StorageClass SCAsWritten, Expr *DefArg) argument
2480 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, Expr *BW, bool Mutable, InClassInitStyle InitStyle) argument
2655 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, bool IsScoped, bool IsScopedUsingClassTag, bool IsFixed) argument
2720 RecordDecl(Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl *PrevDecl) argument
2731 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl* PrevDecl) argument
2885 Create(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id, QualType Type) argument
2969 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
2982 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
[all...]
/external/clang/lib/Parse/
H A DParseStmt.cpp705 SourceLocation IdLoc = ConsumeToken(); local
706 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
H A DParseDeclCXX.cpp849 SourceLocation IdLoc = ConsumeToken(); local
856 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(),
858 Diag(IdLoc, diag::err_unknown_template_name)
867 TemplateName.setIdentifier(Id, IdLoc);
891 ParsedType Type = Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, true,
897 Diag(IdLoc, diag::err_expected_class_name);
902 EndLocation = IdLoc;
906 DS.SetRangeStart(IdLoc);
912 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type);
2542 SourceLocation IdLoc local
[all...]
H A DParseExprCXX.cpp369 SourceLocation IdLoc = ConsumeToken(); local
375 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc,
377 SS.SetInvalid(SourceRange(IdLoc, CCLoc));
2026 SourceLocation IdLoc = ConsumeToken(); local
2031 Result.setIdentifier(Id, IdLoc);
2038 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(),
2043 Result.setConstructorName(Ty, IdLoc, IdLoc);
2046 Result.setIdentifier(Id, IdLoc);
2051 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc,
[all...]
/external/clang/include/clang/AST/
H A DDeclTemplate.h910 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,
909 TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc, SourceLocation IdLoc, IdentifierInfo *Id, bool Typename) argument
1011 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
[all...]
H A DExprObjC.h537 SourceLocation IdLoc; member in class:clang::ObjCPropertyRefExpr
554 IdLoc(l), ReceiverLoc(), Receiver(base) {
565 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
571 SourceLocation IdLoc, Expr *Base)
576 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) {
582 SourceLocation IdLoc,
586 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
592 SourceLocation IdLoc,
569 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, Expr *Base) argument
580 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation SuperLoc, QualType SuperTy) argument
590 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver) argument
[all...]
H A DDeclObjC.h1028 SourceLocation IdLoc, IdentifierInfo *Id,
1031 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW,
1037 SourceLocation StartLoc, SourceLocation IdLoc,
1085 SourceLocation IdLoc, IdentifierInfo *Id,
1087 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T,
1094 SourceLocation IdLoc, IdentifierInfo *Id,
1027 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
1084 ObjCAtDefsFieldDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
/external/llvm/lib/TableGen/
H A DTGParser.cpp1657 SMLoc IdLoc = Lex.getLoc(); local
1673 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField)))
1824 SMLoc IdLoc = Lex.getLoc();
1850 return SetValue(CurRec, IdLoc, FieldName, BitList, Val);
/external/clang/include/clang/Sema/
H A DDeclSpec.h895 /// \param IdLoc the location of the parsed identifier.
896 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { argument
899 StartLocation = EndLocation = IdLoc;
939 /// \param IdLoc the location of the identifier.
941 SourceLocation IdLoc) {
945 EndLocation = IdLoc;
1744 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { argument
1745 Name.setIdentifier(Id, IdLoc);
940 setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, SourceLocation IdLoc) argument

Completed in 1347 milliseconds