| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 42 if (!FoundDecl) in getCanonicalSymbolDeclaration() 47 FoundDecl = CtorDecl->getParent(); in getCanonicalSymbolDeclaration() 49 FoundDecl = DtorDecl->getParent(); in getCanonicalSymbolDeclaration() 55 return FoundDecl; in getCanonicalSymbolDeclaration() 66 : FoundDecl(FoundDecl), Context(Context) {} in AdditionalUSRFinder() 100 USRSet.insert(getUSRForDecl(FoundDecl)); in Find() 209 const Decl *FoundDecl; member in clang::tooling::__anon35f1c3fc0111::AdditionalUSRFinder 253 const NamedDecl *FoundDecl = QualifiedName.empty() in FindSymbol() local 257 if (FoundDecl == nullptr) { in FindSymbol() 281 FoundDecl = getCanonicalSymbolDeclaration(FoundDecl); in FindSymbol() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 143 NamedDecl *FoundDecl; variable 153 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in ConceptReference() argument 157 ConceptName(ConceptNameInfo), FoundDecl(FoundDecl), in ConceptReference() 164 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, 200 return FoundDecl; in getFoundDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 6806 Candidate.FoundDecl = FoundDecl; in AddOverloadCandidate() 7386 Candidate.FoundDecl = FoundDecl; in AddMethodCandidate() 7556 Candidate.FoundDecl = FoundDecl; in AddMethodTemplateCandidate() 7610 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 7641 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 7840 Candidate.FoundDecl = FoundDecl; in AddConversionCandidate() 8027 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 8043 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 8083 Candidate.FoundDecl = FoundDecl; in AddSurrogateCandidate() 13579 R.addDecl(Best->FoundDecl.getDecl(), Best->FoundDecl.getAccess()); in DiagnoseTwoPhaseLookup() [all …]
|
| H A D | SemaStmtAsm.cpp | 829 NamedDecl *FoundDecl = nullptr; in LookupInlineAsmField() local 834 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField() 839 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 842 if (!FoundDecl) in LookupInlineAsmField() 847 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField() 849 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField() 856 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField() 858 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField() 875 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 878 FieldDecl *FD = dyn_cast<FieldDecl>(FoundDecl); in LookupInlineAsmField()
|
| H A D | SemaExprMember.cpp | 930 SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument 937 FoundDecl, HadMultipleCandidates, MemberNameInfo, Ty, in BuildMemberExpr() 951 Member, FoundDecl, MemberNameInfo, TemplateArgs, Ty, in BuildMemberExpr() 1097 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local 1118 FoundDecl, TemplateArgs); in BuildMemberReferenceExpr() 1142 FoundDecl, BaseExpr, in BuildMemberReferenceExpr() 1147 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1171 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1198 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1836 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr() argument [all …]
|
| H A D | SemaInit.cpp | 3738 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep() 3788 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep() 3853 S.Function.FoundDecl = FoundDecl; in AddConstructorInitializationStep() 4126 Info.ConstructorTmpl, Info.FoundDecl, in ResolveConstructorOverload() 4790 Info.ConstructorTmpl, Info.FoundDecl, in TryRefInitWithConversionFunction() 5711 Info.ConstructorTmpl, Info.FoundDecl, in TryUserDefinedConversion() 7062 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() 7075 Step.Function.FoundDecl.getDecl())) { in PerformConstructorInitialization() 7137 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() 8878 DeclAccessPair FoundFn = Step->Function.FoundDecl; in Perform() [all …]
|
| H A D | SemaAccess.cpp | 171 DeclAccessPair FoundDecl, in AccessTarget() 174 FoundDecl, BaseObjectType) { in AccessTarget() 1808 DeclAccessPair FoundDecl) { in CheckMemberOperatorAccess() argument 1815 return CheckMemberOperatorAccess(OpLoc, ObjectExpr, R, FoundDecl); in CheckMemberOperatorAccess()
|
| H A D | SemaStmt.cpp | 1831 bool FoundDecl; member in __anonf018d3d30d11::DeclMatcher 1837 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1844 FoundDecl = true; in VisitReturnStmt() 1848 FoundDecl = true; in VisitBreakStmt() 1852 FoundDecl = true; in VisitGotoStmt() 1889 FoundDecl = true; in VisitDeclRefExpr() 1904 bool FoundDeclInUse() { return FoundDecl; } in FoundDeclInUse()
|
| H A D | SemaLookup.cpp | 3508 AddOverloadCandidate(CtorInfo.Constructor, CtorInfo.FoundDecl, in LookupSpecialMember() 3522 CtorInfo.FoundDecl, nullptr, in LookupSpecialMember() 4157 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in lookupInDeclContext() 4188 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in lookupInDeclContext() 4333 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false); in lookupInScope() 4560 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() function in TypoCorrectionConsumer
|
| H A D | TreeTransform.h | 2822 NamedDecl *FoundDecl, in RebuildMemberExpr() argument 2845 DeclAccessPair::make(FoundDecl, FoundDecl->getAccess()), MemberNameInfo); in RebuildMemberExpr() 2860 R.addDecl(FoundDecl); in RebuildMemberExpr() 3604 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in RebuildConceptSpecializationExpr() argument 11489 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() local 11490 if (FoundDecl == E->getMemberDecl()) { in TransformMemberExpr() 11491 FoundDecl = Member; in TransformMemberExpr() 11493 FoundDecl = cast_or_null<NamedDecl>( in TransformMemberExpr() 11495 if (!FoundDecl) in TransformMemberExpr() 11503 FoundDecl == E->getFoundDecl() && in TransformMemberExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 62 DeclAccessPair FoundDecl, QualType BaseObjectType) in AccessedEntity() argument 63 : Access(FoundDecl.getAccess()), IsMember(true), in AccessedEntity() 64 Target(FoundDecl.getDecl()), NamingClass(NamingClass), in AccessedEntity()
|
| H A D | TemplateDeduction.h | 310 DeclAccessPair FoundDecl; member 320 FoundDecl = Found; in set()
|
| H A D | Initialization.h | 959 DeclAccessPair FoundDecl; member 1305 DeclAccessPair FoundDecl, 1334 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
| H A D | Overload.h | 833 DeclAccessPair FoundDecl; member 1206 DeclAccessPair FoundDecl; member
|
| H A D | SemaInternal.h | 113 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| H A D | Sema.h | 4053 NamedDecl *FoundDecl, 4079 void AddMethodCandidate(DeclAccessPair FoundDecl, 4096 DeclAccessPair FoundDecl, 4122 CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, 4132 DeclAccessPair FoundDecl, 5949 DeclAccessPair FoundDecl, 5977 ValueDecl *Member, DeclAccessPair FoundDecl, 5985 ValueDecl *Member, DeclAccessPair FoundDecl, 8061 DeclAccessPair FoundDecl, 8065 DeclAccessPair FoundDecl, [all …]
|
| H A D | Lookup.h | 853 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTConcept.cpp | 96 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in Create() argument 99 FoundDecl, NamedConcept, ArgsAsWritten); in Create()
|
| H A D | ASTImporter.cpp | 2545 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() local 2898 FoundDecl = Tag->getDecl(); in VisitEnumDecl() 3021 Decl *Found = FoundDecl; in VisitRecordDecl() 4040 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() local 4331 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() local 4650 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() local 4966 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() local 5490 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() local 5663 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() local 5968 Decl *Found = FoundDecl; in VisitClassTemplateDecl() [all …]
|
| H A D | Expr.cpp | 1705 ValueDecl *MemberDecl, DeclAccessPair FoundDecl, in Create() argument 1708 bool HasQualOrFound = QualifierLoc || FoundDecl.getDecl() != MemberDecl || in Create() 1709 FoundDecl.getAccess() != MemberDecl->getAccess(); in Create() 1727 NQ->FoundDecl = FoundDecl; in Create()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.h | 37 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 229 DeclAccessPair FoundDecl = DeclAccessPair::make(MemberDecl, AS_public); in makeMemberExpression() local 232 SourceLocation(), MemberDecl, FoundDecl, in makeMemberExpression() 248 for (NamedDecl *FoundDecl : Decls) in findMemberField() 249 if (!FoundDecl->getDeclContext()->isFunctionOrMethod()) in findMemberField() 250 return cast<ValueDecl>(FoundDecl); in findMemberField()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4284 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_POLYMORPHIC_MATCHER_P() local 4285 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P() 4323 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P() local 4324 return InnerMatcher.matches(*FoundDecl, Finder, Builder); in AST_MATCHER_P()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1058 DeclAccessPair FoundDecl; in VisitMemberExpr() local 1062 FoundDecl = DeclAccessPair::make(FoundD, AS); in VisitMemberExpr() 1064 FoundDecl = DeclAccessPair::make(E->MemberDecl, in VisitMemberExpr() 1067 E->getTrailingObjects<MemberExprNameQualifier>()->FoundDecl = FoundDecl; in VisitMemberExpr()
|
| H A D | ASTWriterStmt.cpp | 999 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr() local 1000 Record.AddDeclRef(FoundDecl.getDecl()); in VisitMemberExpr() 1001 CurrentPackingBits.addBits(FoundDecl.getAccess(), /*BitWidth=*/2); in VisitMemberExpr()
|