/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | RecursiveASTVisitor.h | 252 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS); 258 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS); 672 NestedNameSpecifier *NNS) { 673 if (!NNS) 676 if (NNS->getPrefix()) 677 TRY_TO(TraverseNestedNameSpecifier(NNS->getPrefix())); 679 switch (NNS->getKind()) { 689 TRY_TO(TraverseType(QualType(NNS->getAsType(), 0))); 697 NestedNameSpecifierLoc NNS) { 698 if (!NNS) 671 TraverseNestedNameSpecifier( NestedNameSpecifier *NNS) argument 696 TraverseNestedNameSpecifierLoc( NestedNameSpecifierLoc NNS) argument [all...] |
H A D | ASTContext.h | 1455 NestedNameSpecifier *NNS, QualType NamedType, 1458 NestedNameSpecifier *NNS, 1463 NestedNameSpecifier *NNS, 1467 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, 1995 TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS, 1999 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS, 2001 TemplateName getDependentTemplateName(NestedNameSpecifier *NNS, 2400 getCanonicalNestedNameSpecifier(NestedNameSpecifier *NNS) const;
|
H A D | TypeLoc.h | 2023 void setNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { 2024 getLocalData()->NestedNameSpec = NNS;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | BuildTree.cpp | 707 auto *NNS = new (allocator()) syntax::NestedNameSpecifier; local 708 Builder.foldNode(Builder.getRange(QualifierLoc.getSourceRange()), NNS, 710 return NNS; 763 if (auto *NNS = BuildNestedNameSpecifier(S->getQualifierLoc())) 764 Builder.markChild(NNS, syntax::NodeRole::IdExpression_qualifier);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 5508 void ASTRecordWriter::AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { 5515 while (NNS) { 5516 NestedNames.push_back(NNS); 5517 NNS = NNS.getPrefix(); 5522 NNS = NestedNames.pop_back_val(); 5524 = NNS.getNestedNameSpecifier()->getKind(); 5528 AddIdentifierRef(NNS.getNestedNameSpecifier()->getAsIdentifier()); 5529 AddSourceRange(NNS.getLocalSourceRange()); 5533 AddDeclRef(NNS [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 745 if (NestedNameSpecifier *NNS = SS.getScopeRep()) 746 IsEnum = dyn_cast_or_null<EnumType>(NNS->getAsType()); 2864 while (NestedNameSpecifier *NNS = NNSLoc.getNestedNameSpecifier()) { 2865 if (const Type *CurType = NNS->getAsType()) { 2976 if (NestedNameSpecifier *NNS = DependentTST->getQualifier()) 2977 T = QualType(NNS->getAsType(), 0); 2985 if (NestedNameSpecifier *NNS = DependentName->getQualifier()) 2986 T = QualType(NNS->getAsType(), 0); 4866 // Suggest that the user add 'typename' before the NNS. 5844 bool VisitNestedNameSpecifier(NestedNameSpecifier *NNS); 6077 VisitNestedNameSpecifier( NestedNameSpecifier *NNS) argument 10165 NestedNameSpecifier *NNS = SS.getScopeRep(); local 10301 isEnableIf(NestedNameSpecifierLoc NNS, const IdentifierInfo &II, SourceRange &CondRange, Expr *&Cond) argument [all...] |
H A D | SemaCoroutine.cpp | 125 auto *NNS = NestedNameSpecifier::Create(S.Context, nullptr, StdExp); 126 NNS = NestedNameSpecifier::Create(S.Context, NNS, false, 128 return S.Context.getElaboratedType(ETK_None, NNS, PromiseType);
|
H A D | SemaExprMember.cpp | 902 NestedNameSpecifierLoc NNS = local 904 return BuildMemberExpr(Base, IsArrow, OpLoc, NNS, TemplateKWLoc, Member, 910 Expr *Base, bool IsArrow, SourceLocation OpLoc, NestedNameSpecifierLoc NNS, 917 MemberExpr::Create(Context, Base, IsArrow, OpLoc, NNS, TemplateKWLoc, 909 BuildMemberExpr( Expr *Base, bool IsArrow, SourceLocation OpLoc, NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, bool HadMultipleCandidates, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs) argument
|
H A D | SemaTemplateVariadic.cpp | 514 NestedNameSpecifierLoc NNS, 517 .TraverseNestedNameSpecifierLoc(NNS); 513 collectUnexpandedParameterPacks( NestedNameSpecifierLoc NNS, SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) argument
|
H A D | SemaType.cpp | 3694 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; 3695 NNS = NNS->getPrefix()) { 3696 if (NNS->getKind() == NestedNameSpecifier::Global) 5277 NestedNameSpecifier *NNS = SS.getScopeRep(); local 5278 NestedNameSpecifier *NNSPrefix = NNS->getPrefix(); 5279 switch (NNS->getKind()) { 5282 NNS->getAsIdentifier()); 5293 ClsType = QualType(NNS [all...] |
H A D | SemaExprCXX.cpp | 52 NestedNameSpecifier *NNS = SS.getScopeRep(); local 56 switch (NNS->getKind()) { 59 Type = QualType(NNS->getAsType(), 0); 65 assert(NNS->getAsIdentifier() == &Name && "not a constructor name"); 66 Type = Context.getDependentNameType(ETK_None, NNS->getPrefix(), 67 NNS->getAsIdentifier()); 7875 if (auto *NNS = TC.getCorrectionSpecifier()) 7876 NewSS.MakeTrivial(SemaRef.Context, NNS, TC.getCorrectionRange()); 7886 if (auto *NNS = TC.getCorrectionSpecifier()) 7887 Record = NNS [all...] |
H A D | AnalysisBasedWarnings.cpp | 200 if (NestedNameSpecifier *NNS = DRE->getQualifier()) { 201 if (NNS->getKind() == NestedNameSpecifier::TypeSpec && 202 isa<TemplateSpecializationType>(NNS->getAsType())) {
|
H A D | SemaCodeComplete.cpp | 4035 NestedNameSpecifier *NNS = getRequiredQualification( local 4037 if (NNS) { 4040 NNS->print(OS, Policy); 5001 NestedNameSpecifier *NNS = NNSL.getNestedNameSpecifier(); local 5002 const auto *Q = NNS->getPrefix(); 5004 addType(NNS->getAsIdentifier()); 5868 NestedNameSpecifier *NNS = SS.getScopeRep(); local 5869 if (NNS != nullptr && SS.isValid() && !NNS->isDependent()) { 5883 if (!Results.empty() && NNS [all...] |
H A D | SemaTemplateInstantiate.cpp | 3513 Sema::SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, 3515 if (!NNS) 3518 TemplateInstantiator Instantiator(*this, TemplateArgs, NNS.getBeginLoc(), 3520 return Instantiator.TransformNestedNameSpecifierLoc(NNS);
|
H A D | SemaDecl.cpp | 261 auto *NNS = NestedNameSpecifier::Create(Context, nullptr, false, local 263 QualType T = Context.getDependentNameType(ETK_Typename, NNS, &II); 266 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); 387 NestedNameSpecifier *NNS = Correction.getCorrectionSpecifier(); local 389 if (SS && NNS) { 390 NewSS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); 393 if (Correction && (NNS || NewII != &II) && 409 if (SS && NNS) 410 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc)); 526 // Builds a fake NNS fo 563 NestedNameSpecifier *NNS = nullptr; local [all...] |
H A D | SemaTemplateDeduction.cpp | 5714 NestedNameSpecifier *NNS, 5718 if (!NNS) 5721 MarkUsedTemplateParameters(Ctx, NNS->getPrefix(), OnlyDeduced, Depth, 5723 MarkUsedTemplateParameters(Ctx, QualType(NNS->getAsType(), 0), 5713 MarkUsedTemplateParameters(ASTContext &Ctx, NestedNameSpecifier *NNS, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | JSONNodeDumper.cpp | 686 if (const NestedNameSpecifier *NNS = ET->getQualifier()) { 689 NNS->print(OS, PrintPolicy, /*ResolveTemplateArgs*/ true); 745 if (const NestedNameSpecifier *NNS = UD->getQualifier()) { 747 NNS->print(SOS, UD->getASTContext().getPrintingPolicy());
|
H A D | ComputeDependence.cpp | 409 if (auto *NNS = E->getQualifier()) 410 Deps |= toExprDependence(NNS->getDependence() &
|
H A D | Type.cpp | 2821 ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, 2825 (NNS ? toTypeDependence(NNS->getDependence()) 2827 NNS(NNS), Name(Name) { 2829 assert((!NNS || NNS->isDependent()) && 2820 DependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, const IdentifierInfo *Name, ArrayRef<TemplateArgument> Args, QualType Canon) argument
|
H A D | StmtPrinter.cpp | 2281 NestedNameSpecifierLoc NNS = E->getNestedNameSpecifierLoc(); local 2282 if (NNS) 2283 NNS.getNestedNameSpecifier()->print(OS, Policy);
|
H A D | ExprCXX.cpp | 1494 auto *NNS = getQualifier(); local 1495 if (NNS && NNS->getKind() != NestedNameSpecifier::Super) {
|
H A D | ASTDiagnostic.cpp | 432 NestedNameSpecifier *NNS = reinterpret_cast<NestedNameSpecifier*>(Val); local 433 NNS->print(OS, Context.getPrintingPolicy());
|
H A D | DeclTemplate.cpp | 654 void TemplateTypeParmDecl::setTypeConstraint(NestedNameSpecifierLoc NNS, argument 663 new (getTrailingObjects<TypeConstraint>()) TypeConstraint(NNS, NameInfo,
|
H A D | ASTImporter.cpp | 8348 assert(FromNNS->getAsIdentifier() && "NNS should contain identifier."); 8396 NestedNameSpecifierLoc NNS = FromNNS; 8400 while (NNS) { 8401 NestedNames.push_back(NNS); 8402 NNS = NNS.getPrefix(); 8408 NNS = NestedNames.pop_back_val(); 8410 if (Error Err = importInto(Spec, NNS.getNestedNameSpecifier())) 8417 if (Error Err = importInto(ToLocalBeginLoc, NNS.getLocalBeginLoc())) 8421 if (Error Err = importInto(ToLocalEndLoc, NNS [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | USRGeneration.cpp | 622 static void printQualifier(llvm::raw_ostream &Out, ASTContext &Ctx, NestedNameSpecifier *NNS) { argument 629 NNS->print(Out, PO);
|