Home
last modified time | relevance | path

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

123

/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 …]
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()
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 …]
/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()
/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h2866 NestedNameSpecifierLoc QualifierLoc; variable
2877 NestedNameSpecifierLoc QualifierLoc, in UsingDirectiveDecl() argument
2882 NamespaceLoc(NamespcLoc), QualifierLoc(QualifierLoc), in UsingDirectiveDecl()
2903 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2908 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
2941 NestedNameSpecifierLoc QualifierLoc,
2975 NestedNameSpecifierLoc QualifierLoc; variable
2983 IdentifierInfo *Alias, NestedNameSpecifierLoc QualifierLoc, in NamespaceAliasDecl() argument
2987 QualifierLoc(QualifierLoc), Namespace(Namespace) {} in NamespaceAliasDecl()
3002 NestedNameSpecifierLoc QualifierLoc,
[all …]
DStmtCXX.h255 NestedNameSpecifierLoc QualifierLoc; variable
264 NestedNameSpecifierLoc QualifierLoc, in MSDependentExistsStmt() argument
269 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in MSDependentExistsStmt()
284 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
DExprCXX.h918 NestedNameSpecifierLoc QualifierLoc; variable
928 QualifierLoc(qualifierLoc) { in MSPropertyRefExpr()
945 else if (QualifierLoc) in getBeginLoc()
946 return QualifierLoc.getBeginLoc(); in getBeginLoc()
970 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2521 NestedNameSpecifierLoc QualifierLoc; variable
2541 NestedNameSpecifierLoc QualifierLoc,
2555 bool hasQualifier() const { return QualifierLoc.hasQualifier(); } in hasQualifier()
2559 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
2565 return QualifierLoc.getNestedNameSpecifier(); in getQualifier()
[all …]
DTypeLoc.h2168 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { in setQualifierLoc() argument
2169 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
2172 getLocalData()->QualifierData = QualifierLoc.getOpaqueData(); in setQualifierLoc()
2227 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { in setQualifierLoc() argument
2228 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
2231 getLocalData()->QualifierData = QualifierLoc.getOpaqueData(); in setQualifierLoc()
2287 void setQualifierLoc(NestedNameSpecifierLoc QualifierLoc) { in setQualifierLoc() argument
2288 if (!QualifierLoc) { in setQualifierLoc()
2297 assert(QualifierLoc.getNestedNameSpecifier() in setQualifierLoc()
2300 getLocalData()->QualifierData = QualifierLoc.getOpaqueData(); in setQualifierLoc()
DTemplateBase.h430 TemplateArgumentLocInfo(ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc,
485 NestedNameSpecifierLoc QualifierLoc,
489 LocInfo(Ctx, QualifierLoc, TemplateNameLoc, EllipsisLoc) {
DOpenMPClause.h2738 NestedNameSpecifierLoc QualifierLoc; variable
2757 NestedNameSpecifierLoc QualifierLoc, in OMPReductionClause() argument
2763 QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPReductionClause()
2787 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; } in setQualifierLoc()
2923 ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc,
2952 NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; } in getQualifierLoc()
3068 NestedNameSpecifierLoc QualifierLoc; variable
3084 unsigned N, NestedNameSpecifierLoc QualifierLoc, in OMPTaskReductionClause() argument
3089 QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPTaskReductionClause()
3107 void setQualifierLoc(NestedNameSpecifierLoc NSL) { QualifierLoc = NSL; } in setQualifierLoc()
[all …]
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp321 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, in CXXPseudoDestructorExpr() argument
327 OperatorLoc(OperatorLoc), QualifierLoc(QualifierLoc), in CXXPseudoDestructorExpr()
350 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument
354 : OverloadExpr(UnresolvedLookupExprClass, Context, QualifierLoc, in UnresolvedLookupExpr()
370 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument
377 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, in Create()
384 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in Create() argument
395 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, in Create()
413 NestedNameSpecifierLoc QualifierLoc, in OverloadExpr() argument
422 QualifierLoc(QualifierLoc) { in OverloadExpr()
[all …]
DOpenMPClause.cpp749 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument
758 Modifier, VL.size(), QualifierLoc, NameInfo); in Create()
821 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument
827 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
883 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument
889 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
1808 NestedNameSpecifier *QualifierLoc = in VisitOMPReductionClause() local
1812 if (QualifierLoc == nullptr && OOK != OO_None) { in VisitOMPReductionClause()
1817 if (QualifierLoc != nullptr) in VisitOMPReductionClause()
1818 QualifierLoc->print(OS, Policy); in VisitOMPReductionClause()
[all …]
DTemplateBase.cpp521 ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc, in TemplateArgumentLocInfo() argument
524 Template->Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
525 Template->QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo()
DExpr.cpp397 NestedNameSpecifierLoc QualifierLoc, in DeclRefExpr() argument
406 DeclRefExprBits.HasQualifier = QualifierLoc ? 1 : 0; in DeclRefExpr()
407 if (QualifierLoc) in DeclRefExpr()
409 NestedNameSpecifierLoc(QualifierLoc); in DeclRefExpr()
434 NestedNameSpecifierLoc QualifierLoc, in Create() argument
441 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
448 NestedNameSpecifierLoc QualifierLoc, in Create() argument
464 QualifierLoc ? 1 : 0, FoundD ? 1 : 0, in Create()
469 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
1510 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in Create() argument
[all …]
/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 …]
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1432 NestedNameSpecifierLoc QualifierLoc = Pattern->getQualifierLoc(); in VisitClassTemplateDecl() local
1433 if (QualifierLoc) { in VisitClassTemplateDecl()
1434 QualifierLoc = SemaRef.SubstNestedNameSpecifierLoc(QualifierLoc, in VisitClassTemplateDecl()
1436 if (!QualifierLoc) in VisitClassTemplateDecl()
1458 if (QualifierLoc) { in VisitClassTemplateDecl()
1460 SS.Adopt(QualifierLoc); in VisitClassTemplateDecl()
1482 if (!PrevClassTemplate && QualifierLoc) { in VisitClassTemplateDecl()
1485 << QualifierLoc.getSourceRange(); in VisitClassTemplateDecl()
1541 if (QualifierLoc) in VisitClassTemplateDecl()
1542 RecordInst->setQualifierInfo(QualifierLoc); in VisitClassTemplateDecl()
[all …]
DTreeTransform.h666 NestedNameSpecifierLoc QualifierLoc);
1025 NestedNameSpecifierLoc QualifierLoc, in RebuildElaboratedType() argument
1028 QualifierLoc.getNestedNameSpecifier(), in RebuildElaboratedType()
1039 NestedNameSpecifierLoc QualifierLoc, in RebuildDependentTemplateSpecializationType() argument
1048 SS.Adopt(QualifierLoc); in RebuildDependentTemplateSpecializationType()
1059 QualifierLoc.getNestedNameSpecifier(), in RebuildDependentTemplateSpecializationType()
1069 if (Keyword == ETK_None && QualifierLoc.getNestedNameSpecifier() == nullptr) in RebuildDependentTemplateSpecializationType()
1073 QualifierLoc.getNestedNameSpecifier(), in RebuildDependentTemplateSpecializationType()
1084 NestedNameSpecifierLoc QualifierLoc, in RebuildDependentNameType() argument
1089 SS.Adopt(QualifierLoc); in RebuildDependentNameType()
[all …]
DSemaTemplate.cpp772 NestedNameSpecifierLoc QualifierLoc = SS.getWithLocInContext(Context); in BuildDependentDeclRefExpr() local
773 if (!QualifierLoc) in BuildDependentDeclRefExpr()
777 Context, QualifierLoc, TemplateKWLoc, NameInfo, TemplateArgs); in BuildDependentDeclRefExpr()
5180 NestedNameSpecifierLoc &QualifierLoc) { in SubstDefaultTemplateArgument() argument
5197 QualifierLoc = Param->getDefaultArgument().getTemplateQualifierLoc(); in SubstDefaultTemplateArgument()
5198 if (QualifierLoc) { in SubstDefaultTemplateArgument()
5199 QualifierLoc = in SubstDefaultTemplateArgument()
5200 SemaRef.SubstNestedNameSpecifierLoc(QualifierLoc, TemplateArgLists); in SubstDefaultTemplateArgument()
5201 if (!QualifierLoc) in SubstDefaultTemplateArgument()
5206 QualifierLoc, in SubstDefaultTemplateArgument()
[all …]
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp992 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc QualifierLoc) { in TraverseNestedNameSpecifierLoc() argument
993 if (!QualifierLoc) in TraverseNestedNameSpecifierLoc()
995 for (auto It = QualifierLoc; It; It = It.getPrefix()) { in TraverseNestedNameSpecifierLoc()
1002 Builder.foldNode(Builder.getRange(QualifierLoc.getSourceRange()), in TraverseNestedNameSpecifierLoc()
1004 QualifierLoc); in TraverseNestedNameSpecifierLoc()
1008 syntax::IdExpression *buildIdExpression(NestedNameSpecifierLoc QualifierLoc, in buildIdExpression() argument
1012 if (QualifierLoc) { in buildIdExpression()
1013 Builder.markChild(QualifierLoc, syntax::NodeRole::Qualifier); in buildIdExpression()
1025 QualifierLoc ? QualifierLoc.getBeginLoc() : UnqualifiedIdLoc.getBegin(); in buildIdExpression()
/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 …]

123