| /freebsd-13.1/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() 211 const Decl *FoundDecl; member in clang::tooling::__anona4676bfa0111::AdditionalUSRFinder 254 const NamedDecl *FoundDecl = QualifiedName.empty() in FindSymbol() local 258 if (FoundDecl == nullptr) { in FindSymbol() 282 FoundDecl = getCanonicalSymbolDeclaration(FoundDecl); in FindSymbol() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 117 NamedDecl *FoundDecl; variable 129 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in ConceptReference() argument 133 ConceptName(ConceptNameInfo), FoundDecl(FoundDecl), in ConceptReference() 137 FoundDecl(nullptr), NamedConcept(nullptr), ArgsAsWritten(nullptr) {} in ConceptReference() 152 return FoundDecl; in getFoundDecl() 177 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in TypeConstraint() argument 182 FoundDecl, NamedConcept, ArgsAsWritten), in TypeConstraint()
|
| H A D | ExprConcepts.h | 61 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, 79 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
|
| H A D | TypeLoc.h | 2049 NamedDecl *FoundDecl; member 2093 return getLocalData()->FoundDecl; in getFoundDecl() 2097 getLocalData()->FoundDecl = D; in setFoundDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConcepts.cpp | 36 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in ConceptSpecializationExpr() argument 41 ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, FoundDecl, in ConceptSpecializationExpr() 76 NamedDecl *FoundDecl, in Create() argument 84 ConceptNameInfo, FoundDecl, in Create()
|
| H A D | ASTImporter.cpp | 2400 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() local 2735 FoundDecl = Tag->getDecl(); in VisitEnumDecl() 2854 Decl *Found = FoundDecl; in VisitRecordDecl() 3666 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() local 3956 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() local 4251 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() local 4562 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() local 5036 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() local 5209 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() local 5518 Decl *Found = FoundDecl; in VisitClassTemplateDecl() [all …]
|
| H A D | DeclTemplate.cpp | 681 DeclarationNameInfo NameInfo, NamedDecl *FoundDecl, ConceptDecl *CD, in setTypeConstraint() argument 690 FoundDecl, CD, ArgsAsWritten, ImmediatelyDeclaredConstraint); in setTypeConstraint()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 6322 Candidate.FoundDecl = FoundDecl; in AddOverloadCandidate() 6876 Candidate.FoundDecl = FoundDecl; in AddMethodCandidate() 7030 Candidate.FoundDecl = FoundDecl; in AddMethodTemplateCandidate() 7084 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 7112 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 7292 Candidate.FoundDecl = FoundDecl; in AddConversionCandidate() 7470 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 7483 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 7523 Candidate.FoundDecl = FoundDecl; in AddSurrogateCandidate() 12750 R.addDecl(Best->FoundDecl.getDecl(), Best->FoundDecl.getAccess()); in DiagnoseTwoPhaseLookup() [all …]
|
| H A D | SemaStmtAsm.cpp | 811 NamedDecl *FoundDecl = nullptr; in LookupInlineAsmField() local 816 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField() 821 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 824 if (!FoundDecl) in LookupInlineAsmField() 829 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField() 831 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField() 838 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField() 840 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField() 857 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 860 FieldDecl *FD = dyn_cast<FieldDecl>(FoundDecl); in LookupInlineAsmField()
|
| H A D | SemaExprMember.cpp | 896 SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument 903 FoundDecl, HadMultipleCandidates, MemberNameInfo, Ty, in BuildMemberExpr() 917 Member, FoundDecl, MemberNameInfo, TemplateArgs, Ty, in BuildMemberExpr() 1063 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local 1084 FoundDecl, TemplateArgs); in BuildMemberReferenceExpr() 1108 FoundDecl, BaseExpr, in BuildMemberReferenceExpr() 1113 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1137 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1164 BaseExpr, IsArrow, OpLoc, &SS, TemplateKWLoc, Var, FoundDecl, in BuildMemberReferenceExpr() 1770 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr() argument [all …]
|
| H A D | SemaInit.cpp | 3579 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep() 3629 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep() 3694 S.Function.FoundDecl = FoundDecl; in AddConstructorInitializationStep() 3963 Info.ConstructorTmpl, Info.FoundDecl, in ResolveConstructorOverload() 4597 Info.ConstructorTmpl, Info.FoundDecl, in TryRefInitWithConversionFunction() 5266 Info.ConstructorTmpl, Info.FoundDecl, in TryUserDefinedConversion() 5345 Sequence.AddUserConversionStep(Function, Best->FoundDecl, in TryUserDefinedConversion() 6416 Best->FoundDecl, Entity, Diag); in CheckCXX98CompatAccessibleCopy() 6552 Step.Function.FoundDecl.getDecl())) { in PerformConstructorInitialization() 6617 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() [all …]
|
| H A D | SemaStmt.cpp | 1784 bool FoundDecl; member in __anon5649fb510d11::DeclMatcher 1790 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1797 FoundDecl = true; in VisitReturnStmt() 1801 FoundDecl = true; in VisitBreakStmt() 1805 FoundDecl = true; in VisitGotoStmt() 1842 FoundDecl = true; in VisitDeclRefExpr() 1857 bool FoundDeclInUse() { return FoundDecl; } in FoundDeclInUse()
|
| H A D | SemaLookup.cpp | 3224 AddOverloadCandidate(CtorInfo.Constructor, CtorInfo.FoundDecl, in LookupSpecialMember() 3238 CtorInfo.ConstructorTmpl, CtorInfo.FoundDecl, nullptr, in LookupSpecialMember() 3825 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in lookupInDeclContext() 3858 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in lookupInDeclContext() 4002 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false); in lookupInScope() 4229 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() function in TypoCorrectionConsumer
|
| H A D | SemaExprCXX.cpp | 2457 Best->FoundDecl) == Sema::AR_inaccessible) in resolveAllocationOverload() 3984 DeclAccessPair FoundDecl, in BuildCXXCastArgument() argument 4001 S.CheckConstructorAccess(CastLoc, Constructor, FoundDecl, in BuildCXXCastArgument() 4007 CastLoc, Ty, FoundDecl, cast<CXXConstructorDecl>(Method), in BuildCXXCastArgument() 4020 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument() 4026 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument() 7739 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, in BuildCXXMemberCallExpr() argument 7745 FoundDecl, Method); in BuildCXXMemberCallExpr() 7782 DeclAccessPair::make(FoundDecl, FoundDecl->getAccess()), in BuildCXXMemberCallExpr()
|
| /freebsd-13.1/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 | 293 DeclAccessPair FoundDecl; member 303 FoundDecl = Found; in set()
|
| H A D | Initialization.h | 935 DeclAccessPair FoundDecl; member 1274 DeclAccessPair FoundDecl, 1303 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
| H A D | Overload.h | 797 DeclAccessPair FoundDecl; member 1162 DeclAccessPair FoundDecl; member
|
| H A D | Sema.h | 3646 void AddMethodCandidate(DeclAccessPair FoundDecl, 3654 DeclAccessPair FoundDecl, 3664 DeclAccessPair FoundDecl, 3689 CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, 3699 DeclAccessPair FoundDecl, 5371 DeclAccessPair FoundDecl, 5399 ValueDecl *Member, DeclAccessPair FoundDecl, 5407 ValueDecl *Member, DeclAccessPair FoundDecl, 5791 NamedDecl *FoundDecl, 5813 NamedDecl *FoundDecl, [all …]
|
| H A D | SemaInternal.h | 113 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| H A D | Lookup.h | 787 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.h | 38 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 213 DeclAccessPair FoundDecl = DeclAccessPair::make(MemberDecl, AS_public); in makeMemberExpression() local 216 SourceLocation(), MemberDecl, FoundDecl, in makeMemberExpression() 232 for (NamedDecl *FoundDecl : Decls) in findMemberField() 233 if (!FoundDecl->getDeclContext()->isFunctionOrMethod()) in findMemberField() 234 return cast<ValueDecl>(FoundDecl); in findMemberField()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 816 E->FoundDecl = Record.readDeclAs<NamedDecl>(); in VisitConceptSpecializationExpr() 1047 DeclAccessPair FoundDecl; in VisitMemberExpr() local 1051 FoundDecl = DeclAccessPair::make(FoundD, AS); in VisitMemberExpr() 1053 FoundDecl = DeclAccessPair::make(E->MemberDecl, in VisitMemberExpr() 1056 E->getTrailingObjects<MemberExprNameQualifier>()->FoundDecl = FoundDecl; in VisitMemberExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4143 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P() local 4144 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 4182 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P() local 4183 return InnerMatcher.matches(*FoundDecl, Finder, Builder); in AST_MATCHER_P()
|