Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DDeclTemplate.cpp521 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument
524 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
539 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
543 return new (C, DC) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, in Create()
549 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, in Create() argument
555 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
707 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
711 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
730 SourceLocation IdLoc, in Create() argument
736 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
DDecl.cpp1784 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
1787 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2330 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2333 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3444 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3448 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3627 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
3631 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
3717 SourceLocation IdLoc, IdentifierInfo *Id, in RecordDecl() argument
3719 : TagDecl(DK, TK, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl()
[all …]
DDeclCXX.cpp87 SourceLocation IdLoc, IdentifierInfo *Id, in CXXRecordDecl() argument
89 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl()
96 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
100 IdLoc, Id, PrevDecl); in Create()
2060 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
2062 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
2073 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2075 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create()
DDeclObjC.cpp1679 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
1709 return new (C, DC) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, ac, BW, in Create()
1756 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
1758 return new (C, DC) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
DASTImporter.cpp4538 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitClassTemplateSpecializationDecl() local
4569 StartLoc, IdLoc, in VisitClassTemplateSpecializationDecl()
4659 SourceLocation IdLoc = Importer.Import(DTemplated->getLocation()); in VisitVarTemplateDecl() local
4662 IdLoc, Name.getAsIdentifierInfo(), T, in VisitVarTemplateDecl()
4734 SourceLocation IdLoc = Importer.Import(D->getLocation()); in VisitVarTemplateSpecializationDecl() local
4771 Importer.getToContext(), DC, StartLoc, IdLoc, VarTemplate, T, TInfo, in VisitVarTemplateSpecializationDecl()
/external/clang/include/clang/AST/
DExprObjC.h564 SourceLocation IdLoc;
581 IdLoc(l), ReceiverLoc(), Receiver(base) {
592 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
598 SourceLocation IdLoc, Expr *Base)
603 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) {
609 SourceLocation IdLoc,
613 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
619 SourceLocation IdLoc,
623 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) {
689 SourceLocation getLocation() const { return IdLoc; }
[all …]
DDecl.h487 SourceLocation StartLoc, SourceLocation IdLoc,
498 SourceLocation IdLoc, IdentifierInfo *Id,
912 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
937 SourceLocation StartLoc, SourceLocation IdLoc,
1359 SourceLocation IdLoc, IdentifierInfo *Id,
1364 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1366 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1384 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1386 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1397 SourceLocation IdLoc, IdentifierInfo *Id,
[all …]
DDeclTemplate.h1050 SourceLocation IdLoc, IdentifierInfo *Id,
1052 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1170 SourceLocation IdLoc, unsigned D, unsigned P,
1173 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1179 SourceLocation IdLoc, unsigned D, unsigned P,
1191 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1196 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1579 SourceLocation IdLoc,
1589 SourceLocation StartLoc, SourceLocation IdLoc,
1804 SourceLocation IdLoc,
[all …]
DDeclObjC.h1859 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1862 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1868 SourceLocation StartLoc, SourceLocation IdLoc,
1919 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
1921 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
1928 SourceLocation IdLoc, IdentifierInfo *Id,
DDeclCXX.h644 SourceLocation StartLoc, SourceLocation IdLoc,
688 SourceLocation StartLoc, SourceLocation IdLoc,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp71 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
649 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
663 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction()
665 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
667 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
670 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction()
674 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp53 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
632 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
645 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction()
647 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
649 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
652 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction()
656 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
/external/clang/lib/Parse/
DParseDeclCXX.cpp549 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclaration() local
550 ParsedType Type = Actions.getInheritingConstructorName(SS, IdLoc, *LastII); in ParseUsingDeclaration()
551 Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclaration()
993 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
1000 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier()
1002 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
1009 ParseTemplateIdAfterTemplateName(nullptr, IdLoc, SS, true, LAngleLoc, in ParseBaseTypeSpecifier()
1016 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1041 Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, true, false, nullptr, in ParseBaseTypeSpecifier()
1045 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
[all …]
DParseExprCXX.cpp489 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
499 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), II, IdLoc, CCLoc, in ParseOptionalCXXScopeSpecifier()
511 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2483 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2488 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2495 ParsedType Ty = Actions.getTypeName(*Id, IdLoc, getCurScope(), &SS, false, in ParseUnqualifiedId()
2499 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2502 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2507 return ParseUnqualifiedIdTemplateId(SS, TemplateKWLoc, Id, IdLoc, in ParseUnqualifiedId()
DParseStmt.cpp961 SourceLocation IdLoc = ConsumeToken(); in ParseCompoundStatementBody() local
962 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
/external/clang/include/clang/Sema/
DDeclSpec.h988 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
991 StartLocation = EndLocation = IdLoc; in setIdentifier()
1033 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1037 EndLocation = IdLoc; in setLiteralOperatorId()
1981 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
1982 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
DSema.h2061 SourceLocation IdLoc,
2076 SourceLocation IdLoc, IdentifierInfo *Id,
2857 ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II, SourceLocation IdLoc,
2986 SourceLocation IdLoc,
3520 SourceLocation IdLoc, IdentifierInfo *Id,
3546 SourceLocation IdLoc,
4945 SourceLocation IdLoc,
5305 SourceLocation IdLoc,
5317 SourceLocation IdLoc,
5327 SourceLocation IdLoc,
[all …]
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp384 SourceLocation IdLoc, in isNonTypeNestedNameSpecifier() argument
388 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()
DSemaDeclCXX.cpp2795 SourceLocation IdLoc, in ActOnMemInitializer() argument
2799 DS, IdLoc, InitList, in ActOnMemInitializer()
2811 SourceLocation IdLoc, in ActOnMemInitializer() argument
2819 DS, IdLoc, List, EllipsisLoc); in ActOnMemInitializer()
2854 SourceLocation IdLoc, in BuildMemInitializer() argument
2899 << SourceRange(IdLoc, Init->getSourceRange().getEnd()); in BuildMemInitializer()
2901 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
2914 LookupResult R(*this, MemberOrBase, IdLoc, LookupOrdinaryName); in BuildMemInitializer()
2935 *MemberOrBase, IdLoc); in BuildMemInitializer()
2958 return BuildMemberInitializer(Member, Init, IdLoc); in BuildMemInitializer()
[all …]
DSemaDecl.cpp1688 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
1692 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1698 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr, in getObjCInterfaceDecl()
14307 SourceLocation IdLoc, in CheckEnumConstant() argument
14352 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
14355 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
14376 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
14434 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
14438 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant()
14458 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
[all …]
DSemaDeclObjC.cpp4564 SourceLocation IdLoc, in BuildObjCExceptionDecl() argument
4572 Diag(IdLoc, diag::err_arg_with_address_space); in BuildObjCExceptionDecl()
4584 Diag(IdLoc ,diag::err_catch_param_not_objc_type); in BuildObjCExceptionDecl()
4587 Diag(IdLoc, diag::err_illegal_qualifiers_on_catch_parm); in BuildObjCExceptionDecl()
4590 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()
DTreeTransform.h951 SourceLocation IdLoc) { in RebuildDependentNameType() argument
965 *Id, IdLoc); in RebuildDependentNameType()
972 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1003 LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName); in RebuildDependentNameType()
1014 SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << Kind; in RebuildDependentNameType()
1019 SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope) in RebuildDependentNameType()
1027 IdLoc, Id)) { in RebuildDependentNameType()
1861 SourceLocation IdLoc, in RebuildExceptionDecl() argument
1864 StartLoc, IdLoc, Id); in RebuildExceptionDecl()
DSemaTemplate.cpp8144 SourceLocation IdLoc) { in ActOnTypenameType() argument
8157 TypenameLoc, QualifierLoc, II, IdLoc); in ActOnTypenameType()
8166 TL.setNameLoc(IdLoc); in ActOnTypenameType()
8171 TL.getNamedTypeLoc().castAs<TypeSpecTypeLoc>().setNameLoc(IdLoc); in ActOnTypenameType()
/external/llvm/lib/TableGen/
DTGParser.cpp1702 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
1717 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration()
1871 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
1897 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp2220 SMLoc IdLoc = Lex.getLoc(); in ParseDeclaration() local
2235 if (AddValue(CurRec, IdLoc, RecordVal(DeclName, Type, HasField))) in ParseDeclaration()
2395 SMLoc IdLoc = Lex.getLoc(); in ParseBodyItem() local
2421 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()

12