Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DExprCXX.cpp237 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType, in CXXPseudoDestructorExpr() argument
248 (QualifierLoc && in CXXPseudoDestructorExpr()
249 QualifierLoc.getNestedNameSpecifier()->isInstantiationDependent()) || in CXXPseudoDestructorExpr()
257 (QualifierLoc && in CXXPseudoDestructorExpr()
258 QualifierLoc.getNestedNameSpecifier() in CXXPseudoDestructorExpr()
266 OperatorLoc(OperatorLoc), QualifierLoc(QualifierLoc), in CXXPseudoDestructorExpr()
288 NestedNameSpecifierLoc QualifierLoc, in Create() argument
300 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
321 NestedNameSpecifierLoc QualifierLoc, in OverloadExpr() argument
334 (QualifierLoc && in OverloadExpr()
[all …]
DDeclCXX.cpp1970 NestedNameSpecifierLoc QualifierLoc, in Create() argument
1976 return new (C, DC) UsingDirectiveDecl(DC, L, NamespaceLoc, QualifierLoc, in Create()
2046 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2053 QualifierLoc, IdentLoc, Namespace); in Create()
2114 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2117 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
2137 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2140 QualifierLoc, NameInfo); in Create()
2163 NestedNameSpecifierLoc QualifierLoc, in Create() argument
2167 DC, UsingLoc, TypenameLoc, QualifierLoc, TargetNameLoc, in Create()
DExpr.cpp323 NestedNameSpecifierLoc QualifierLoc, in DeclRefExpr() argument
332 DeclRefExprBits.HasQualifier = QualifierLoc ? 1 : 0; in DeclRefExpr()
333 if (QualifierLoc) { in DeclRefExpr()
334 getInternalQualifierLoc() = QualifierLoc; in DeclRefExpr()
335 auto *NNS = QualifierLoc.getNestedNameSpecifier(); in DeclRefExpr()
368 NestedNameSpecifierLoc QualifierLoc, in Create() argument
377 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
384 NestedNameSpecifierLoc QualifierLoc, in Create() argument
398 if (QualifierLoc) in Create()
413 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
DDecl.cpp1646 void DeclaratorDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) { in setQualifierInfo() argument
1647 if (QualifierLoc) { in setQualifierInfo()
1658 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
1671 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
3478 void TagDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) { in setQualifierInfo() argument
3479 if (QualifierLoc) { in setQualifierInfo()
3484 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
3493 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
DOpenMPClause.cpp373 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument
380 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
DStmtPrinter.cpp803 NestedNameSpecifier *QualifierLoc = in VisitOMPReductionClause() local
807 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPReductionClause()
812 if (QualifierLoc != nullptr) in VisitOMPReductionClause()
813 QualifierLoc->print(OS, Policy); in VisitOMPReductionClause()
/external/clang/include/clang/AST/
DDeclCXX.h2558 NestedNameSpecifierLoc QualifierLoc; variable
2577 NestedNameSpecifierLoc QualifierLoc, in UsingDirectiveDecl() argument
2582 NamespaceLoc(NamespcLoc), QualifierLoc(QualifierLoc), in UsingDirectiveDecl()
2588 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2593 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
2626 NestedNameSpecifierLoc QualifierLoc,
2665 NestedNameSpecifierLoc QualifierLoc; variable
2673 IdentifierInfo *Alias, NestedNameSpecifierLoc QualifierLoc, in NamespaceAliasDecl() argument
2677 QualifierLoc(QualifierLoc), Namespace(Namespace) {} in NamespaceAliasDecl()
2691 NestedNameSpecifierLoc QualifierLoc,
[all …]
DExprCXX.h631 NestedNameSpecifierLoc QualifierLoc; variable
644 QualifierLoc(qualifierLoc) {} in MSPropertyRefExpr()
657 else if (QualifierLoc) in getLocStart()
658 return QualifierLoc.getBeginLoc(); in getLocStart()
675 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2072 NestedNameSpecifierLoc QualifierLoc; variable
2094 NestedNameSpecifierLoc QualifierLoc,
2102 Base(nullptr), IsArrow(false), QualifierLoc(), ScopeType(nullptr) { } in CXXPseudoDestructorExpr()
2109 bool hasQualifier() const { return QualifierLoc.hasQualifier(); } in hasQualifier()
2113 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
[all …]
DStmtCXX.h238 NestedNameSpecifierLoc QualifierLoc; variable
247 NestedNameSpecifierLoc QualifierLoc, in MSDependentExistsStmt() argument
252 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in MSDependentExistsStmt()
267 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
DTemplateBase.h386 TemplateArgumentLocInfo(NestedNameSpecifierLoc QualifierLoc, in TemplateArgumentLocInfo()
390 Template.Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
391 Template.QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo()
443 NestedNameSpecifierLoc QualifierLoc,
446 : 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()
DOpenMPClause.h1552 NestedNameSpecifierLoc QualifierLoc; variable
1568 NestedNameSpecifierLoc QualifierLoc, in OMPReductionClause() argument
1572 ColonLoc(ColonLoc), QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPReductionClause()
1582 ColonLoc(), QualifierLoc(), NameInfo() {} in OMPReductionClause()
1589 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; } in setQualifierLoc()
1679 NestedNameSpecifierLoc QualifierLoc,
1695 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
DDecl.h554 NestedNameSpecifierLoc QualifierLoc; member
571 : QualifierLoc(), NumTemplParamLists(0), TemplParamLists(nullptr) {} in QualifierInfo()
640 return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier() in getQualifier()
648 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
652 void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
2954 return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier() in getQualifier()
2962 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
2966 void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
DExpr.h964 NestedNameSpecifierLoc QualifierLoc,
996 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
1003 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
2345 NestedNameSpecifierLoc QualifierLoc; member
2434 NestedNameSpecifierLoc QualifierLoc,
2471 return getMemberQualifier()->QualifierLoc.getNestedNameSpecifier(); in getQualifier()
2481 return getMemberQualifier()->QualifierLoc; in getQualifierLoc()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp946 NestedNameSpecifierLoc QualifierLoc = Pattern->getQualifierLoc(); in VisitClassTemplateDecl() local
947 if (QualifierLoc) { in VisitClassTemplateDecl()
948 QualifierLoc = SemaRef.SubstNestedNameSpecifierLoc(QualifierLoc, in VisitClassTemplateDecl()
950 if (!QualifierLoc) in VisitClassTemplateDecl()
972 if (QualifierLoc) { in VisitClassTemplateDecl()
974 SS.Adopt(QualifierLoc); in VisitClassTemplateDecl()
995 if (!PrevClassTemplate && QualifierLoc) { in VisitClassTemplateDecl()
998 << QualifierLoc.getSourceRange(); in VisitClassTemplateDecl()
1055 if (QualifierLoc) in VisitClassTemplateDecl()
1056 RecordInst->setQualifierInfo(QualifierLoc); in VisitClassTemplateDecl()
[all …]
DTreeTransform.h598 NestedNameSpecifierLoc QualifierLoc);
883 NestedNameSpecifierLoc QualifierLoc, in RebuildElaboratedType() argument
886 QualifierLoc.getNestedNameSpecifier(), in RebuildElaboratedType()
897 NestedNameSpecifierLoc QualifierLoc, in RebuildDependentTemplateSpecializationType() argument
904 SS.Adopt(QualifierLoc); in RebuildDependentTemplateSpecializationType()
915 QualifierLoc.getNestedNameSpecifier(), in RebuildDependentTemplateSpecializationType()
925 if (Keyword == ETK_None && QualifierLoc.getNestedNameSpecifier() == nullptr) in RebuildDependentTemplateSpecializationType()
929 QualifierLoc.getNestedNameSpecifier(), in RebuildDependentTemplateSpecializationType()
940 NestedNameSpecifierLoc QualifierLoc, in RebuildDependentNameType() argument
944 SS.Adopt(QualifierLoc); in RebuildDependentNameType()
[all …]
DSemaTemplate.cpp3321 NestedNameSpecifierLoc &QualifierLoc) { in SubstDefaultTemplateArgument() argument
3338 QualifierLoc = Param->getDefaultArgument().getTemplateQualifierLoc(); in SubstDefaultTemplateArgument()
3339 if (QualifierLoc) { in SubstDefaultTemplateArgument()
3340 QualifierLoc = in SubstDefaultTemplateArgument()
3341 SemaRef.SubstNestedNameSpecifierLoc(QualifierLoc, TemplateArgLists); in SubstDefaultTemplateArgument()
3342 if (!QualifierLoc) in SubstDefaultTemplateArgument()
3347 QualifierLoc, in SubstDefaultTemplateArgument()
3406 NestedNameSpecifierLoc QualifierLoc; in SubstDefaultTemplateArgumentIfAvailable() local
3412 QualifierLoc); in SubstDefaultTemplateArgumentIfAvailable()
3931 NestedNameSpecifierLoc QualifierLoc; in CheckTemplateArgumentList() local
[all …]
DSemaTemplateVariadic.cpp401 NestedNameSpecifierLoc QualifierLoc(Qualifier, SS.location_data()); in collectUnexpandedParameterPacks() local
403 .TraverseNestedNameSpecifierLoc(QualifierLoc); in collectUnexpandedParameterPacks()
DSemaTemplateInstantiate.cpp759 NestedNameSpecifierLoc QualifierLoc,
970 NestedNameSpecifierLoc QualifierLoc, in RebuildElaboratedType() argument
996 QualifierLoc, in RebuildElaboratedType()
2702 Sema::SubstTemplateName(NestedNameSpecifierLoc QualifierLoc, in SubstTemplateName() argument
2708 SS.Adopt(QualifierLoc); in SubstTemplateName()
DSemaDeclCXX.cpp8092 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context); in BuildUsingDeclaration() local
8098 QualifierLoc, in BuildUsingDeclaration()
8102 QualifierLoc, NameInfo); in BuildUsingDeclaration()
8111 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, NameInfo, in BuildUsingDeclaration()
8171 QualifierLoc.getSourceRange()); in BuildUsingDeclaration()
8172 QualifierLoc = Builder.getWithLocInContext(Context); in BuildUsingDeclaration()
12315 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context); in ActOnTemplatedFriendTag() local
12318 QualType T = CheckTypenameType(Keyword, TagLoc, QualifierLoc, in ActOnTemplatedFriendTag()
12328 TL.setQualifierLoc(QualifierLoc); in ActOnTemplatedFriendTag()
12333 TL.setQualifierLoc(QualifierLoc); in ActOnTemplatedFriendTag()
/external/clang/tools/libclang/
DCIndex.cpp773 if (NestedNameSpecifierLoc QualifierLoc = DD->getQualifierLoc()) in VisitDeclaratorDecl() local
774 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitDeclaratorDecl()
808 if (NestedNameSpecifierLoc QualifierLoc = ND->getQualifierLoc()) in VisitFunctionDecl() local
809 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitFunctionDecl()
1190 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) in VisitNamespaceAliasDecl() local
1191 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitNamespaceAliasDecl()
1200 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) { in VisitUsingDecl() local
1201 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitUsingDecl()
1213 if (NestedNameSpecifierLoc QualifierLoc = D->getQualifierLoc()) in VisitUsingDirectiveDecl() local
1214 if (VisitNestedNameSpecifierLoc(QualifierLoc)) in VisitUsingDirectiveDecl()
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1217 S->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitMSDependentExistsStmt()
1428 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitCXXPseudoDestructorExpr()
1463 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitCXXDependentScopeMemberExpr()
1476 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitDependentScopeDeclRefExpr()
1509 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitOverloadExpr()
1660 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitMSPropertyRefExpr()
2711 NestedNameSpecifierLoc QualifierLoc; in ReadStmtFromStream() local
2713 QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, Idx); in ReadStmtFromStream()
2744 S = MemberExpr::Create(Context, Base, IsArrow, OperatorLoc, QualifierLoc, in ReadStmtFromStream()
DASTReaderDecl.cpp1340 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitNamespaceAliasDecl()
1348 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUsingDecl()
1372 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUsingDirectiveDecl()
1380 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUnresolvedUsingValueDecl()
1389 D->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitUnresolvedUsingTypenameDecl()
DASTReader.cpp6154 NestedNameSpecifierLoc QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, in GetTemplateArgumentLocInfo() local
6157 return TemplateArgumentLocInfo(QualifierLoc, TemplateNameLoc, in GetTemplateArgumentLocInfo()
6161 NestedNameSpecifierLoc QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, in GetTemplateArgumentLocInfo() local
6165 return TemplateArgumentLocInfo(QualifierLoc, TemplateNameLoc, in GetTemplateArgumentLocInfo()
7704 Info.QualifierLoc = ReadNestedNameSpecifierLoc(F, Record, Idx); in ReadQualifierInfo()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2163 unsigned* QualifierLoc) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() argument
2171 *QualifierLoc = SpecLoc.getRawEncoding(); in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()

12