Home
last modified time | relevance | path

Searched refs:QualifierLoc (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/lib/AST/
DExprCXX.cpp164 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType, in CXXPseudoDestructorExpr() argument
175 (QualifierLoc && in CXXPseudoDestructorExpr()
176 QualifierLoc.getNestedNameSpecifier()->isInstantiationDependent()) || in CXXPseudoDestructorExpr()
184 (QualifierLoc && in CXXPseudoDestructorExpr()
185 QualifierLoc.getNestedNameSpecifier() in CXXPseudoDestructorExpr()
193 OperatorLoc(OperatorLoc), QualifierLoc(QualifierLoc), in CXXPseudoDestructorExpr()
215 NestedNameSpecifierLoc QualifierLoc, in Create() argument
230 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
251 NestedNameSpecifierLoc QualifierLoc, in OverloadExpr() argument
264 (QualifierLoc && in OverloadExpr()
[all …]
DExpr.cpp323 NestedNameSpecifierLoc QualifierLoc, in DeclRefExpr() argument
332 DeclRefExprBits.HasQualifier = QualifierLoc ? 1 : 0; in DeclRefExpr()
333 if (QualifierLoc) { in DeclRefExpr()
335 NestedNameSpecifierLoc(QualifierLoc); in DeclRefExpr()
336 auto *NNS = QualifierLoc.getNestedNameSpecifier(); in DeclRefExpr()
369 NestedNameSpecifierLoc QualifierLoc, in Create() argument
378 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
385 NestedNameSpecifierLoc QualifierLoc, in Create() argument
402 QualifierLoc ? 1 : 0, FoundD ? 1 : 0, in Create()
407 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
DDeclCXX.cpp2034 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2040 return new (C, DC) UsingDirectiveDecl(DC, L, NamespaceLoc, QualifierLoc, in Create()
2126 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2133 QualifierLoc, IdentLoc, Namespace); in Create()
2227 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2230 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
2250 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2253 QualifierLoc, NameInfo); in Create()
2276 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2280 DC, UsingLoc, TypenameLoc, QualifierLoc, TargetNameLoc, in Create()
DDecl.cpp1649 void DeclaratorDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) { in setQualifierInfo() argument
1650 if (QualifierLoc) { in setQualifierInfo()
1661 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
1674 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
3589 void TagDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) { in setQualifierInfo() argument
3590 if (QualifierLoc) { in setQualifierInfo()
3595 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
3604 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
DOpenMPClause.cpp481 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument
487 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
DStmtPrinter.cpp815 NestedNameSpecifier *QualifierLoc = in VisitOMPReductionClause() local
819 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPReductionClause()
824 if (QualifierLoc != nullptr) in VisitOMPReductionClause()
825 QualifierLoc->print(OS, Policy); in VisitOMPReductionClause()
/external/clang/include/clang/AST/
DDeclCXX.h2624 NestedNameSpecifierLoc QualifierLoc; variable
2643 NestedNameSpecifierLoc QualifierLoc, in UsingDirectiveDecl() argument
2648 NamespaceLoc(NamespcLoc), QualifierLoc(QualifierLoc), in UsingDirectiveDecl()
2654 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2659 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
2692 NestedNameSpecifierLoc QualifierLoc,
2731 NestedNameSpecifierLoc QualifierLoc; variable
2739 IdentifierInfo *Alias, NestedNameSpecifierLoc QualifierLoc, in NamespaceAliasDecl() argument
2743 QualifierLoc(QualifierLoc), Namespace(Namespace) {} in NamespaceAliasDecl()
2757 NestedNameSpecifierLoc QualifierLoc,
[all …]
DExprCXX.h668 NestedNameSpecifierLoc QualifierLoc; variable
681 QualifierLoc(qualifierLoc) {} in MSPropertyRefExpr()
694 else if (QualifierLoc) in getLocStart()
695 return QualifierLoc.getBeginLoc(); in getLocStart()
712 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2141 NestedNameSpecifierLoc QualifierLoc; variable
2163 NestedNameSpecifierLoc QualifierLoc,
2171 Base(nullptr), IsArrow(false), QualifierLoc(), ScopeType(nullptr) { } in CXXPseudoDestructorExpr()
2178 bool hasQualifier() const { return QualifierLoc.hasQualifier(); } in hasQualifier()
2182 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
[all …]
DStmtCXX.h243 NestedNameSpecifierLoc QualifierLoc; variable
252 NestedNameSpecifierLoc QualifierLoc, in MSDependentExistsStmt() argument
257 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in MSDependentExistsStmt()
272 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
DTemplateBase.h393 TemplateArgumentLocInfo(NestedNameSpecifierLoc QualifierLoc, in TemplateArgumentLocInfo()
397 Template.Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
398 Template.QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo()
450 NestedNameSpecifierLoc QualifierLoc,
453 : Argument(Argument), LocInfo(QualifierLoc, TemplateNameLoc, EllipsisLoc) { in Argument()
DTypeLoc.h1739 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { in setQualifierLoc() argument
1740 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
1743 getLocalData()->QualifierData = QualifierLoc.getOpaqueData(); in setQualifierLoc()
1797 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { in setQualifierLoc() argument
1798 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
1801 getLocalData()->QualifierData = QualifierLoc.getOpaqueData(); in setQualifierLoc()
1855 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { in setQualifierLoc() argument
1856 if (!QualifierLoc) { in setQualifierLoc()
1865 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
1868 getLocalData()->QualifierData = QualifierLoc.getOpaqueData(); in setQualifierLoc()
DDecl.h614 NestedNameSpecifierLoc QualifierLoc; member
631 : QualifierLoc(), NumTemplParamLists(0), TemplParamLists(nullptr) {} in QualifierInfo()
700 return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier() in getQualifier()
708 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
712 void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
2971 return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier() in getQualifier()
2979 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
2983 void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
DOpenMPClause.h1676 NestedNameSpecifierLoc QualifierLoc; variable
1692 NestedNameSpecifierLoc QualifierLoc, in OMPReductionClause() argument
1697 QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPReductionClause()
1707 OMPClauseWithPostUpdate(this), ColonLoc(), QualifierLoc(), NameInfo() {} in OMPReductionClause()
1714 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; } in setQualifierLoc()
1808 NestedNameSpecifierLoc QualifierLoc,
1824 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
DExpr.h964 NestedNameSpecifierLoc QualifierLoc,
996 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
1003 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
2306 NestedNameSpecifierLoc QualifierLoc; member
2397 NestedNameSpecifierLoc QualifierLoc,
2434 return getTrailingObjects<MemberExprNameQualifier>()->QualifierLoc; in getQualifierLoc()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1053 NestedNameSpecifierLoc QualifierLoc = Pattern->getQualifierLoc(); in VisitClassTemplateDecl() local
1054 if (QualifierLoc) { in VisitClassTemplateDecl()
1055 QualifierLoc = SemaRef.SubstNestedNameSpecifierLoc(QualifierLoc, in VisitClassTemplateDecl()
1057 if (!QualifierLoc) in VisitClassTemplateDecl()
1079 if (QualifierLoc) { in VisitClassTemplateDecl()
1081 SS.Adopt(QualifierLoc); in VisitClassTemplateDecl()
1102 if (!PrevClassTemplate && QualifierLoc) { in VisitClassTemplateDecl()
1105 << QualifierLoc.getSourceRange(); in VisitClassTemplateDecl()
1162 if (QualifierLoc) in VisitClassTemplateDecl()
1163 RecordInst->setQualifierInfo(QualifierLoc); in VisitClassTemplateDecl()
[all …]
DTreeTransform.h606 NestedNameSpecifierLoc QualifierLoc);
892 NestedNameSpecifierLoc QualifierLoc, in RebuildElaboratedType() argument
895 QualifierLoc.getNestedNameSpecifier(), in RebuildElaboratedType()
906 NestedNameSpecifierLoc QualifierLoc, in RebuildDependentTemplateSpecializationType() argument
913 SS.Adopt(QualifierLoc); in RebuildDependentTemplateSpecializationType()
924 QualifierLoc.getNestedNameSpecifier(), in RebuildDependentTemplateSpecializationType()
934 if (Keyword == ETK_None && QualifierLoc.getNestedNameSpecifier() == nullptr) in RebuildDependentTemplateSpecializationType()
938 QualifierLoc.getNestedNameSpecifier(), in RebuildDependentTemplateSpecializationType()
949 NestedNameSpecifierLoc QualifierLoc, in RebuildDependentNameType() argument
953 SS.Adopt(QualifierLoc); in RebuildDependentNameType()
[all …]
DSemaTemplate.cpp3361 NestedNameSpecifierLoc &QualifierLoc) { in SubstDefaultTemplateArgument() argument
3377 QualifierLoc = Param->getDefaultArgument().getTemplateQualifierLoc(); in SubstDefaultTemplateArgument()
3378 if (QualifierLoc) { in SubstDefaultTemplateArgument()
3379 QualifierLoc = in SubstDefaultTemplateArgument()
3380 SemaRef.SubstNestedNameSpecifierLoc(QualifierLoc, TemplateArgLists); in SubstDefaultTemplateArgument()
3381 if (!QualifierLoc) in SubstDefaultTemplateArgument()
3386 QualifierLoc, in SubstDefaultTemplateArgument()
3445 NestedNameSpecifierLoc QualifierLoc; in SubstDefaultTemplateArgumentIfAvailable() local
3451 QualifierLoc); in SubstDefaultTemplateArgumentIfAvailable()
3969 NestedNameSpecifierLoc QualifierLoc; in CheckTemplateArgumentList() local
[all …]
DSemaTemplateVariadic.cpp401 NestedNameSpecifierLoc QualifierLoc(Qualifier, SS.location_data()); in collectUnexpandedParameterPacks() local
403 .TraverseNestedNameSpecifierLoc(QualifierLoc); in collectUnexpandedParameterPacks()
DSemaTemplateInstantiate.cpp761 NestedNameSpecifierLoc QualifierLoc,
972 NestedNameSpecifierLoc QualifierLoc, in RebuildElaboratedType() argument
998 QualifierLoc, in RebuildElaboratedType()
2727 Sema::SubstTemplateName(NestedNameSpecifierLoc QualifierLoc, in SubstTemplateName() argument
2733 SS.Adopt(QualifierLoc); in SubstTemplateName()
DSemaDeclCXX.cpp8299 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context); in BuildUsingDeclaration() local
8305 QualifierLoc, in BuildUsingDeclaration()
8309 QualifierLoc, NameInfo); in BuildUsingDeclaration()
8318 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
8381 QualifierLoc.getSourceRange()); in BuildUsingDeclaration()
8382 QualifierLoc = Builder.getWithLocInContext(Context); in BuildUsingDeclaration()
12556 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context); in ActOnTemplatedFriendTag() local
12559 QualType T = CheckTypenameType(Keyword, TagLoc, QualifierLoc, in ActOnTemplatedFriendTag()
12569 TL.setQualifierLoc(QualifierLoc); in ActOnTemplatedFriendTag()
12574 TL.setQualifierLoc(QualifierLoc); in ActOnTemplatedFriendTag()
/external/clang/tools/libclang/
DCIndex.cpp777 if (NestedNameSpecifierLoc QualifierLoc = DD->getQualifierLoc()) in VisitDeclaratorDecl() local
778 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitDeclaratorDecl()
812 if (NestedNameSpecifierLoc QualifierLoc = ND->getQualifierLoc()) in VisitFunctionDecl() local
813 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitFunctionDecl()
1192 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) in VisitNamespaceAliasDecl() local
1193 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitNamespaceAliasDecl()
1202 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) { in VisitUsingDecl() local
1203 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitUsingDecl()
1215 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) in VisitUsingDirectiveDecl() local
1216 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitUsingDirectiveDecl()
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1225 S->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitMSDependentExistsStmt()
1441 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitCXXPseudoDestructorExpr()
1480 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitCXXDependentScopeMemberExpr()
1495 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitDependentScopeDeclRefExpr()
1529 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitOverloadExpr()
1680 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitMSPropertyRefExpr()
3013 NestedNameSpecifierLoc QualifierLoc; in ReadStmtFromStream() local
3015 QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, Idx); in ReadStmtFromStream()
3046 S = MemberExpr::Create(Context, Base, IsArrow, OperatorLoc, QualifierLoc, in ReadStmtFromStream()
DASTReaderDecl.cpp1397 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitNamespaceAliasDecl()
1405 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUsingDecl()
1439 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUsingDirectiveDecl()
1447 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUnresolvedUsingValueDecl()
1456 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUnresolvedUsingTypenameDecl()
DASTReader.cpp6171 NestedNameSpecifierLoc QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, in GetTemplateArgumentLocInfo() local
6174 return TemplateArgumentLocInfo(QualifierLoc, TemplateNameLoc, in GetTemplateArgumentLocInfo()
6178 NestedNameSpecifierLoc QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, in GetTemplateArgumentLocInfo() local
6182 return TemplateArgumentLocInfo(QualifierLoc, TemplateNameLoc, in GetTemplateArgumentLocInfo()
7760 Info.QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, Idx); in ReadQualifierInfo()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2178 unsigned* QualifierLoc) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() argument
2186 *QualifierLoc = SpecLoc.getRawEncoding(); in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()

12