| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 46 FoundDecl = CtorDecl->getParent(); in getCanonicalSymbolDeclaration() 48 FoundDecl = DtorDecl->getParent(); in getCanonicalSymbolDeclaration() 54 return FoundDecl; in getCanonicalSymbolDeclaration() 65 : FoundDecl(FoundDecl), Context(Context) {} in AdditionalUSRFinder() 80 dyn_cast<ClassTemplateDecl>(FoundDecl)) { in Find() 83 USRSet.insert(getUSRForDecl(FoundDecl)); in Find() 168 const Decl *FoundDecl; member in clang::tooling::__anon61b30f150111::AdditionalUSRFinder 212 const NamedDecl *FoundDecl = QualifiedName.empty() in FindSymbol() local 216 if (FoundDecl == nullptr) { in FindSymbol() 240 FoundDecl = getCanonicalSymbolDeclaration(FoundDecl); in FindSymbol() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 54 if (S.DiagnoseUseOfDecl(FoundDecl, Loc)) in CreateFunctionRefExpr() 5719 NamedDecl *D = FoundDecl.getDecl(); in collectViableConversionCandidates() 6051 Candidate.FoundDecl = FoundDecl; in AddOverloadCandidate() 6584 Candidate.FoundDecl = FoundDecl; in AddMethodCandidate() 6726 Candidate.FoundDecl = FoundDecl; in AddMethodTemplateCandidate() 6787 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 6960 Candidate.FoundDecl = FoundDecl; in AddConversionCandidate() 7123 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 7163 Candidate.FoundDecl = FoundDecl; in AddSurrogateCandidate() 9534 S.Diag(FoundDecl->getLocation(), in MaybeEmitInheritedConstructorNote() [all …]
|
| H A D | SemaStmtAsm.cpp | 735 NamedDecl *FoundDecl = nullptr; in LookupInlineAsmField() local 740 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField() 745 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 748 if (!FoundDecl) in LookupInlineAsmField() 753 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField() 755 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField() 762 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField() 764 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField() 781 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 784 FieldDecl *FD = dyn_cast<FieldDecl>(FoundDecl); in LookupInlineAsmField()
|
| H A D | SemaExprMember.cpp | 897 ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument 903 FoundDecl, MemberNameInfo, TemplateArgs, Ty, VK, OK); in BuildMemberExpr() 1058 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local 1087 FoundDecl, TemplateArgs); in BuildMemberReferenceExpr() 1112 FoundDecl, BaseExpr, in BuildMemberReferenceExpr() 1117 TemplateKWLoc, Var, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr() 1134 TemplateKWLoc, MemberFn, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr() 1141 TemplateKWLoc, Enum, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr() 1148 TemplateKWLoc, Var, FoundDecl, MemberNameInfo, in BuildMemberReferenceExpr() 1741 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr() argument [all …]
|
| H A D | SemaInit.cpp | 3352 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep() 3400 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep() 3467 S.Function.FoundDecl = FoundDecl; in AddConstructorInitializationStep() 3936 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization() 5024 Sequence.AddUserConversionStep(Function, Best->FoundDecl, in TryUserDefinedConversion() 6072 Best->FoundDecl, Entity, Diag); in CheckCXX98CompatAccessibleCopy() 6206 Step.Function.FoundDecl.getDecl())) { in PerformConstructorInitialization() 6243 Step.Function.FoundDecl, in PerformConstructorInitialization() 6254 Step.Function.FoundDecl, in PerformConstructorInitialization() 6269 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() [all …]
|
| H A D | SemaStmt.cpp | 1433 bool FoundDecl; member in __anon4bf2252c0511::DeclMatcher 1439 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1446 FoundDecl = true; in VisitReturnStmt() 1450 FoundDecl = true; in VisitBreakStmt() 1454 FoundDecl = true; in VisitGotoStmt() 1491 FoundDecl = true; in VisitDeclRefExpr() 1506 bool FoundDeclInUse() { return FoundDecl; } in FoundDeclInUse()
|
| H A D | SemaLookup.cpp | 3001 AddOverloadCandidate(CtorInfo.Constructor, CtorInfo.FoundDecl, in LookupSpecialMember() 3014 CtorInfo.ConstructorTmpl, CtorInfo.FoundDecl, nullptr, in LookupSpecialMember() 3521 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls() 3543 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls() 3693 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false); in LookupVisibleDecls() 3940 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() function in TypoCorrectionConsumer
|
| H A D | SemaAccess.cpp | 159 DeclAccessPair FoundDecl, in AccessTarget() 162 FoundDecl, BaseObjectType) { in AccessTarget()
|
| H A D | SemaExprCXX.cpp | 2267 Best->FoundDecl) == Sema::AR_inaccessible) in resolveAllocationOverload() 3734 DeclAccessPair FoundDecl, in BuildCXXCastArgument() argument 3750 S.CheckConstructorAccess(CastLoc, Constructor, FoundDecl, in BuildCXXCastArgument() 3756 CastLoc, Ty, FoundDecl, cast<CXXConstructorDecl>(Method), in BuildCXXCastArgument() 3769 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument() 3775 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument() 7153 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, in BuildCXXMemberCallExpr() argument 7159 FoundDecl, Method); in BuildCXXMemberCallExpr()
|
| H A D | TreeTransform.h | 2249 NamedDecl *FoundDecl, in RebuildMemberExpr() argument 2264 FoundDecl, Member); in RebuildMemberExpr() 2272 DeclAccessPair::make(FoundDecl, FoundDecl->getAccess()), MemberNameInfo); in RebuildMemberExpr() 2287 R.addDecl(FoundDecl); in RebuildMemberExpr() 9398 NamedDecl *FoundDecl = E->getFoundDecl(); in TransformMemberExpr() local 9399 if (FoundDecl == E->getMemberDecl()) { in TransformMemberExpr() 9400 FoundDecl = Member; in TransformMemberExpr() 9402 FoundDecl = cast_or_null<NamedDecl>( in TransformMemberExpr() 9404 if (!FoundDecl) in TransformMemberExpr() 9412 FoundDecl == E->getFoundDecl() && in TransformMemberExpr() [all …]
|
| H A D | SemaDeclCXX.cpp | 12889 NamedDecl *FoundDecl, in BuildCXXConstructExpr() argument 12914 Context, cast<CXXRecordDecl>(FoundDecl->getDeclContext())); in BuildCXXConstructExpr() 12918 FoundDecl, Constructor, in BuildCXXConstructExpr() 12927 NamedDecl *FoundDecl, in BuildCXXConstructExpr() argument 12937 if (auto *Shadow = dyn_cast<ConstructorUsingShadowDecl>(FoundDecl)) { in BuildCXXConstructExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 64 DeclAccessPair FoundDecl, in AccessedEntity() argument 66 : Access(FoundDecl.getAccess()), IsMember(true), in AccessedEntity() 67 Target(FoundDecl.getDecl()), NamingClass(NamingClass), in AccessedEntity()
|
| H A D | TemplateDeduction.h | 280 DeclAccessPair FoundDecl; member 290 FoundDecl = Found; in set()
|
| H A D | Initialization.h | 912 DeclAccessPair FoundDecl; member 1256 DeclAccessPair FoundDecl, 1287 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
| H A D | Overload.h | 740 DeclAccessPair FoundDecl; member 981 DeclAccessPair FoundDecl; member
|
| H A D | Sema.h | 2750 NamedDecl *FoundDecl, 2775 void AddMethodCandidate(DeclAccessPair FoundDecl, 2782 DeclAccessPair FoundDecl, 2791 DeclAccessPair FoundDecl, 2817 DeclAccessPair FoundDecl, 2824 DeclAccessPair FoundDecl, 2831 DeclAccessPair FoundDecl, 4354 DeclAccessPair FoundDecl, 4700 NamedDecl *FoundDecl, 4722 NamedDecl *FoundDecl, [all …]
|
| H A D | SemaInternal.h | 153 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| H A D | Lookup.h | 773 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 2491 FoundDecl = Tag->getDecl(); in VisitEnumDecl() 2608 Decl *Found = FoundDecl; in VisitRecordDecl() 3261 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() local 3492 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() local 3772 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() local 4079 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() local 4504 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() local 4679 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() local 4954 Decl *Found = FoundDecl; in VisitClassTemplateDecl() 5257 for (auto *FoundDecl : FoundDecls) { in VisitVarTemplateDecl() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 218 DeclAccessPair FoundDecl = DeclAccessPair::make(MemberDecl, AS_public); in makeMemberExpression() local 221 SourceLocation(), MemberDecl, FoundDecl, in makeMemberExpression() 237 for (NamedDecl *FoundDecl : Decls) in findMemberField() 238 if (!FoundDecl->getDeclContext()->isFunctionOrMethod()) in findMemberField() 239 return cast<ValueDecl>(FoundDecl); in findMemberField()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.h | 39 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3313 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_MATCHER_P() local 3314 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 3351 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P() local 3352 return InnerMatcher.matches(*FoundDecl, Finder, Builder); in AST_MATCHER_P()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 678 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr() local 679 Record.AddDeclRef(FoundDecl.getDecl()); in VisitMemberExpr() 680 Record.push_back(FoundDecl.getAccess()); in VisitMemberExpr()
|
| H A D | ASTReaderStmt.cpp | 2559 DeclAccessPair FoundDecl = DeclAccessPair::make(FoundD, AS); in ReadStmtFromStream() local 2572 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Expr.h | 2682 DeclAccessPair FoundDecl; member 2786 return getTrailingObjects<MemberExprNameQualifier>()->FoundDecl; in getFoundDecl()
|