Home
last modified time | relevance | path

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

123

/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()
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp673 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument
676 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
691 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
701 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack, in Create()
707 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, in Create() argument
715 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
866 SourceLocation IdLoc, in ClassTemplateSpecializationDecl() argument
870 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
887 SourceLocation IdLoc, in Create() argument
893 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
DDecl.cpp1977 SourceLocation StartLoc, SourceLocation IdLoc, in VarDecl() argument
1980 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2705 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2708 return new (C, DC) ParmVarDecl(ParmVar, C, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
4105 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4109 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
4334 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl() argument
4336 : TagDecl(Enum, TTK_Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) { in EnumDecl()
4351 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
4355 auto *Enum = new (C, DC) EnumDecl(C, DC, StartLoc, IdLoc, Id, PrevDecl, in Create()
[all …]
DDeclCXX.cpp123 SourceLocation IdLoc, IdentifierInfo *Id, in CXXRecordDecl() argument
125 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl()
131 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
134 auto *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, IdLoc, Id, in Create()
2846 SourceLocation StartLoc, SourceLocation IdLoc, in NamespaceDecl() argument
2848 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace), in NamespaceDecl()
2859 SourceLocation IdLoc, IdentifierInfo *Id, in Create() argument
2861 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create()
3155 SourceLocation IdLoc, IdentifierInfo *Id) { in Create() argument
3156 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
/external/llvm-project/clang/include/clang/AST/
DExprObjC.h639 SourceLocation IdLoc; variable
651 IdLoc(l), Receiver(base) { in ObjCPropertyRefExpr()
660 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) { in ObjCPropertyRefExpr()
667 SourceLocation IdLoc, Expr *Base) in ObjCPropertyRefExpr() argument
670 IdLoc(IdLoc), Receiver(Base) { in ObjCPropertyRefExpr()
677 SourceLocation IdLoc, SourceLocation SuperLoc, in ObjCPropertyRefExpr() argument
681 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) { in ObjCPropertyRefExpr()
688 SourceLocation IdLoc, SourceLocation ReceiverLoc, in ObjCPropertyRefExpr() argument
692 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) { in ObjCPropertyRefExpr()
759 SourceLocation getLocation() const { return IdLoc; } in getLocation()
[all …]
DDecl.h529 SourceLocation StartLoc, SourceLocation IdLoc,
544 SourceLocation IdLoc, IdentifierInfo *Id,
1004 SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
1033 SourceLocation StartLoc, SourceLocation IdLoc,
1582 SourceLocation IdLoc, IdentifierInfo *Id,
1589 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() argument
1592 : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type, in ImplicitParamDecl()
1624 SourceLocation IdLoc, IdentifierInfo *Id, QualType T, in ParmVarDecl() argument
1626 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1637 SourceLocation IdLoc, IdentifierInfo *Id,
[all …]
DDeclTemplate.h1208 SourceLocation IdLoc, IdentifierInfo *Id,
1211 : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename),
1413 SourceLocation IdLoc, unsigned D, unsigned P,
1416 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1420 SourceLocation IdLoc, unsigned D, unsigned P,
1429 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1434 SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
1848 SourceLocation IdLoc,
1861 SourceLocation StartLoc, SourceLocation IdLoc,
2090 SourceLocation IdLoc,
[all …]
DDeclObjC.h1953 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCIvarDecl() argument
1956 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1962 SourceLocation StartLoc, SourceLocation IdLoc,
2012 SourceLocation IdLoc, IdentifierInfo *Id, in ObjCAtDefsFieldDecl() argument
2014 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl()
2023 SourceLocation IdLoc, IdentifierInfo *Id,
/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,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp71 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
650 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
664 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction()
666 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
668 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
671 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction()
675 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/llvm-project/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp73 bool MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode,
652 bool LanaiAsmParser::MatchAndEmitInstruction(SMLoc IdLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
666 return Error(IdLoc, "Instruction use requires option to be enabled"); in MatchAndEmitInstruction()
668 return Error(IdLoc, "Unrecognized instruction mnemonic"); in MatchAndEmitInstruction()
670 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
673 return Error(IdLoc, "Too few operands for instruction"); in MatchAndEmitInstruction()
677 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()
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp634 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclarator() local
636 Actions.getInheritingConstructorName(D.SS, IdLoc, *LastII); in ParseUsingDeclarator()
637 D.Name.setConstructorName(Type, IdLoc, IdLoc); in ParseUsingDeclarator()
1176 SourceLocation IdLoc = ConsumeToken(); in ParseBaseTypeSpecifier() local
1185 if (!Actions.DiagnoseUnknownTemplateName(*Id, IdLoc, getCurScope(), in ParseBaseTypeSpecifier()
1187 Diag(IdLoc, diag::err_unknown_template_name) in ParseBaseTypeSpecifier()
1193 TemplateName.setIdentifier(Id, IdLoc); in ParseBaseTypeSpecifier()
1219 *Id, IdLoc, getCurScope(), &SS, /*isClassName=*/true, false, nullptr, in ParseBaseTypeSpecifier()
1224 Diag(IdLoc, diag::err_expected_class_name); in ParseBaseTypeSpecifier()
1229 EndLocation = IdLoc; in ParseBaseTypeSpecifier()
[all …]
DParseExprCXX.cpp447 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
467 SS.SetInvalid(SourceRange(IdLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
2794 SourceLocation IdLoc = ConsumeToken(); in ParseUnqualifiedId() local
2799 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2807 ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS, in ParseUnqualifiedId()
2811 Result.setConstructorName(Ty, IdLoc, IdLoc); in ParseUnqualifiedId()
2814 Actions.isDeductionGuideName(getCurScope(), *Id, IdLoc, in ParseUnqualifiedId()
2817 Result.setDeductionGuideName(TemplateName, IdLoc); in ParseUnqualifiedId()
2820 Result.setIdentifier(Id, IdLoc); in ParseUnqualifiedId()
2828 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
/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()
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h1039 void setIdentifier(const IdentifierInfo *Id, SourceLocation IdLoc) { in setIdentifier() argument
1042 StartLocation = EndLocation = IdLoc; in setIdentifier()
1084 SourceLocation IdLoc) { in setLiteralOperatorId() argument
1088 EndLocation = IdLoc; in setLiteralOperatorId()
2194 void SetIdentifier(IdentifierInfo *Id, SourceLocation IdLoc) { in SetIdentifier() argument
2195 Name.setIdentifier(Id, IdLoc); in SetIdentifier()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp384 SourceLocation IdLoc, in isNonTypeNestedNameSpecifier() argument
388 LookupResult Found(*this, &II, IdLoc, LookupNestedNameSpecifierName); in isNonTypeNestedNameSpecifier()

123