| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 41 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl) { in getCanonicalSymbolDeclaration() argument 42 if (!FoundDecl) in getCanonicalSymbolDeclaration() 46 if (const auto *CtorDecl = dyn_cast<CXXConstructorDecl>(FoundDecl)) in getCanonicalSymbolDeclaration() 47 FoundDecl = CtorDecl->getParent(); in getCanonicalSymbolDeclaration() 48 else if (const auto *DtorDecl = dyn_cast<CXXDestructorDecl>(FoundDecl)) in getCanonicalSymbolDeclaration() 49 FoundDecl = DtorDecl->getParent(); in getCanonicalSymbolDeclaration() 55 return FoundDecl; in getCanonicalSymbolDeclaration() 65 AdditionalUSRFinder(const Decl *FoundDecl, ASTContext &Context) in AdditionalUSRFinder() argument 66 : FoundDecl(FoundDecl), Context(Context) {} in AdditionalUSRFinder() 71 if (const auto *MethodDecl = dyn_cast<CXXMethodDecl>(FoundDecl)) { in Find() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 128 NamedDecl *FoundDecl; variable 139 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in ConceptReference() argument 143 ConceptName(ConceptNameInfo), FoundDecl(FoundDecl), in ConceptReference() 147 : FoundDecl(nullptr), NamedConcept(nullptr), ArgsAsWritten(nullptr) {} in ConceptReference() 162 return FoundDecl; in getFoundDecl() 187 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in TypeConstraint() argument 192 FoundDecl, NamedConcept, ArgsAsWritten), in TypeConstraint()
|
| H A D | ExprConcepts.h | 61 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, 78 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
|
| H A D | TypeLoc.h | 2105 NamedDecl *FoundDecl; member 2158 return getLocalData()->FoundDecl; in getFoundDecl() 2162 getLocalData()->FoundDecl = D; in setFoundDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConcepts.cpp | 36 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in ConceptSpecializationExpr() argument 41 ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, FoundDecl, in ConceptSpecializationExpr() 73 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in Create() argument 78 C, NNS, TemplateKWLoc, ConceptNameInfo, FoundDecl, NamedConcept, in Create()
|
| H A D | ASTImporter.cpp | 2380 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() local 2381 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Namespace)) in VisitNamespaceDecl() 2384 if (auto *FoundNS = dyn_cast<NamespaceDecl>(FoundDecl)) { in VisitNamespaceDecl() 2390 ConflictingDecls.push_back(FoundDecl); in VisitNamespaceDecl() 2505 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl() local 2506 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl() 2508 if (auto *FoundTypedef = dyn_cast<TypedefNameDecl>(FoundDecl)) { in VisitTypedefNameDecl() 2522 ConflictingDecls.push_back(FoundDecl); in VisitTypedefNameDecl() 2603 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl() local 2604 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypeAliasTemplateDecl() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 57 Sema &S, FunctionDecl *Fn, NamedDecl *FoundDecl, const Expr *Base, in CreateFunctionRefExpr() argument 60 if (S.DiagnoseUseOfDecl(FoundDecl, Loc)) in CreateFunctionRefExpr() 68 if (FoundDecl != Fn && S.DiagnoseUseOfDecl(Fn, Loc)) in CreateFunctionRefExpr() 1490 ICS.Ambiguous.addConversion(Cand->FoundDecl, Cand->Function); in TryUserDefinedConversion() 3477 S.AddTemplateOverloadCandidate(Info.ConstructorTmpl, Info.FoundDecl, in IsInitializerListConstructorConversion() 3483 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, From, in IsInitializerListConstructorConversion() 3503 User.FoundConversionFunction = Best->FoundDecl; in IsInitializerListConstructorConversion() 3614 Info.ConstructorTmpl, Info.FoundDecl, in IsUserDefinedConversion() 3622 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, in IsUserDefinedConversion() 3643 DeclAccessPair FoundDecl = I.getPair(); in IsUserDefinedConversion() local [all …]
|
| H A D | SemaStmtAsm.cpp | 827 NamedDecl *FoundDecl = nullptr; in LookupInlineAsmField() local 832 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField() 837 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 840 if (!FoundDecl) in LookupInlineAsmField() 845 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField() 847 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField() 854 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField() 856 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField() 873 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 876 FieldDecl *FD = dyn_cast<FieldDecl>(FoundDecl); in LookupInlineAsmField()
|
| H A D | SemaExprMember.cpp | 897 SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument 904 FoundDecl, HadMultipleCandidates, MemberNameInfo, Ty, in BuildMemberExpr() 910 SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, in BuildMemberExpr() argument 918 Member, FoundDecl, MemberNameInfo, TemplateArgs, Ty, in BuildMemberExpr() 1064 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local 1085 FoundDecl, TemplateArgs); in BuildMemberReferenceExpr() 1098 return BuildFieldReferenceExpr(BaseExpr, IsArrow, OpLoc, SS, FD, FoundDecl, in BuildMemberReferenceExpr() 1109 FoundDecl, BaseExpr, in BuildMemberReferenceExpr() 1114 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1131 MemberFn, FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() [all …]
|
| H A D | SemaInit.cpp | 3627 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep() 3669 DeclAccessPair FoundDecl, in AddUserConversionStep() argument 3677 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep() 3733 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T, in AddConstructorInitializationStep() argument 3742 S.Function.FoundDecl = FoundDecl; in AddConstructorInitializationStep() 3974 Ctx.getRecordType(cast<CXXRecordDecl>(Info.FoundDecl->getDeclContext())); in hasCopyOrMoveCtorParam() 4018 Info.ConstructorTmpl, Info.FoundDecl, in ResolveConstructorOverload() 4032 S.AddOverloadCandidate(Info.Constructor, Info.FoundDecl, Args, in ResolveConstructorOverload() 4219 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization() 4271 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates, in TryConstructorInitialization() [all …]
|
| H A D | SemaAccess.cpp | 171 DeclAccessPair FoundDecl, in AccessTarget() 174 FoundDecl, BaseObjectType) { in AccessTarget() 1798 DeclAccessPair FoundDecl) { in CheckMemberOperatorAccess() argument 1805 return CheckMemberOperatorAccess(OpLoc, ObjectExpr, R, FoundDecl); in CheckMemberOperatorAccess()
|
| H A D | SemaStmt.cpp | 1821 bool FoundDecl; member in __anonceb37bf40d11::DeclMatcher 1827 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1834 FoundDecl = true; in VisitReturnStmt() 1838 FoundDecl = true; in VisitBreakStmt() 1842 FoundDecl = true; in VisitGotoStmt() 1879 FoundDecl = true; in VisitDeclRefExpr() 1894 bool FoundDeclInUse() { return FoundDecl; } in FoundDeclInUse()
|
| H A D | SemaLookup.cpp | 3491 AddOverloadCandidate(CtorInfo.Constructor, CtorInfo.FoundDecl, in LookupSpecialMember() 3505 CtorInfo.FoundDecl, nullptr, in LookupSpecialMember() 4138 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in lookupInDeclContext() 4171 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in lookupInDeclContext() 4315 Consumer.FoundDecl(ND, Visited.checkHidden(ND), nullptr, false); in lookupInScope() 4542 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() function in TypoCorrectionConsumer
|
| /openbsd-src/gnu/llvm/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 | 303 DeclAccessPair FoundDecl; member 313 FoundDecl = Found; in set()
|
| H A D | Initialization.h | 959 DeclAccessPair FoundDecl; member 1302 DeclAccessPair FoundDecl, 1331 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
| H A D | Overload.h | 830 DeclAccessPair FoundDecl; member 1203 DeclAccessPair FoundDecl; member
|
| H A D | Sema.h | 3836 NamedDecl *FoundDecl, 3962 NamedDecl *FoundDecl, 3973 FunctionDecl *Function, DeclAccessPair FoundDecl, ArrayRef<Expr *> Args, 3987 void AddMethodCandidate(DeclAccessPair FoundDecl, 3995 AddMethodCandidate(CXXMethodDecl *Method, DeclAccessPair FoundDecl, 4004 DeclAccessPair FoundDecl, 4015 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, 4029 CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, 4034 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, 4039 DeclAccessPair FoundDecl, [all …]
|
| H A D | SemaInternal.h | 113 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| H A D | Lookup.h | 812 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.h | 37 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl);
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | LibASTImporter.rst | 53 for (auto FoundDecl : FoundDeclsList) { 54 if (StructurallyEquivalentDecls(FoundDecl, FromD)) { 55 ToDecl = FoundDecl;
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4188 const NamedDecl *FoundDecl = Node.getFoundDecl(); in AST_POLYMORPHIC_MATCHER_P() local 4189 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P() 4227 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P() local 4228 return InnerMatcher.matches(*FoundDecl, Finder, Builder); in AST_MATCHER_P()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 802 E->FoundDecl = Record.readDeclAs<NamedDecl>(); in VisitConceptSpecializationExpr() 1038 DeclAccessPair FoundDecl; in VisitMemberExpr() local 1042 FoundDecl = DeclAccessPair::make(FoundD, AS); in VisitMemberExpr() 1044 FoundDecl = DeclAccessPair::make(E->MemberDecl, in VisitMemberExpr() 1047 E->getTrailingObjects<MemberExprNameQualifier>()->FoundDecl = FoundDecl; in VisitMemberExpr()
|