| /llvm-project-15.0.7/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::__anon02dbeb760111::AdditionalUSRFinder 252 const NamedDecl *FoundDecl = QualifiedName.empty() in FindSymbol() local 256 if (FoundDecl == nullptr) { in FindSymbol() 280 FoundDecl = getCanonicalSymbolDeclaration(FoundDecl); in FindSymbol() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 115 NamedDecl *FoundDecl; variable 126 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in ConceptReference() argument 130 ConceptName(ConceptNameInfo), FoundDecl(FoundDecl), in ConceptReference() 134 : FoundDecl(nullptr), NamedConcept(nullptr), ArgsAsWritten(nullptr) {} in ConceptReference() 149 return FoundDecl; in getFoundDecl() 174 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in TypeConstraint() argument 179 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 | 2104 NamedDecl *FoundDecl; member 2157 return getLocalData()->FoundDecl; in getFoundDecl() 2161 getLocalData()->FoundDecl = D; in setFoundDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedAliasDeclsCheck.cpp | 48 for (const auto &FoundDecl : FoundDecls) { in onEndOfTranslationUnit() local 49 if (!FoundDecl.second.isValid()) in onEndOfTranslationUnit() 51 diag(FoundDecl.first->getLocation(), "namespace alias decl %0 is unused") in onEndOfTranslationUnit() 52 << FoundDecl.first << FixItHint::CreateRemoval(FoundDecl.second); in onEndOfTranslationUnit()
|
| /llvm-project-15.0.7/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 | 2386 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() local 2721 FoundDecl = Tag->getDecl(); in VisitEnumDecl() 2840 Decl *Found = FoundDecl; in VisitRecordDecl() 3716 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() local 4006 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() local 4312 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() local 4623 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() local 5146 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() local 5319 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() local 5628 Decl *Found = FoundDecl; in VisitClassTemplateDecl() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 6384 Candidate.FoundDecl = FoundDecl; in AddOverloadCandidate() 6960 Candidate.FoundDecl = FoundDecl; in AddMethodCandidate() 7115 Candidate.FoundDecl = FoundDecl; in AddMethodTemplateCandidate() 7169 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 7197 Candidate.FoundDecl = FoundDecl; in AddTemplateOverloadCandidate() 7377 Candidate.FoundDecl = FoundDecl; in AddConversionCandidate() 7555 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 7568 Candidate.FoundDecl = FoundDecl; in AddTemplateConversionCandidate() 7608 Candidate.FoundDecl = FoundDecl; in AddSurrogateCandidate() 12921 R.addDecl(Best->FoundDecl.getDecl(), Best->FoundDecl.getAccess()); in DiagnoseTwoPhaseLookup() [all …]
|
| H A D | SemaStmtAsm.cpp | 821 NamedDecl *FoundDecl = nullptr; in LookupInlineAsmField() local 826 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField() 831 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 834 if (!FoundDecl) in LookupInlineAsmField() 839 if (VarDecl *VD = dyn_cast<VarDecl>(FoundDecl)) in LookupInlineAsmField() 841 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField() 848 } else if (TypeDecl *TD = dyn_cast<TypeDecl>(FoundDecl)) in LookupInlineAsmField() 850 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField() 867 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 870 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() 918 Member, FoundDecl, MemberNameInfo, TemplateArgs, Ty, in BuildMemberExpr() 1064 DeclAccessPair FoundDecl = R.begin().getPair(); in BuildMemberReferenceExpr() local 1085 FoundDecl, TemplateArgs); in BuildMemberReferenceExpr() 1109 FoundDecl, BaseExpr, in BuildMemberReferenceExpr() 1114 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1138 FoundDecl, /*HadMultipleCandidates=*/false, in BuildMemberReferenceExpr() 1165 BaseExpr, IsArrow, OpLoc, &SS, TemplateKWLoc, Var, FoundDecl, in BuildMemberReferenceExpr() 1802 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr() argument [all …]
|
| H A D | SemaInit.cpp | 3607 S.Function.FoundDecl = Found; in AddAddressOverloadResolutionStep() 3657 S.Function.FoundDecl = FoundDecl; in AddUserConversionStep() 3722 S.Function.FoundDecl = FoundDecl; in AddConstructorInitializationStep() 3991 Info.ConstructorTmpl, Info.FoundDecl, in ResolveConstructorOverload() 4625 Info.ConstructorTmpl, Info.FoundDecl, in TryRefInitWithConversionFunction() 5294 Info.ConstructorTmpl, Info.FoundDecl, in TryUserDefinedConversion() 5373 Sequence.AddUserConversionStep(Function, Best->FoundDecl, in TryUserDefinedConversion() 6475 Best->FoundDecl, Entity, Diag); in CheckCXX98CompatAccessibleCopy() 6611 Step.Function.FoundDecl.getDecl())) { in PerformConstructorInitialization() 6676 if (S.DiagnoseUseOfDecl(Step.Function.FoundDecl, Loc)) in PerformConstructorInitialization() [all …]
|
| H A D | SemaAccess.cpp | 171 DeclAccessPair FoundDecl, in AccessTarget() 174 FoundDecl, BaseObjectType) { in AccessTarget() 1795 DeclAccessPair FoundDecl) { in CheckMemberOperatorAccess() argument 1802 return CheckMemberOperatorAccess(OpLoc, ObjectExpr, R, FoundDecl); in CheckMemberOperatorAccess()
|
| H A D | SemaStmt.cpp | 1821 bool FoundDecl; member in __anonb6e159cd0d11::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()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterFixtures.h | 404 auto FoundDecl = match(Action.ImportPredicate.bind(DeclToImportID), in testImportSequence() local 406 EXPECT_TRUE(FoundDecl.size() == 1); in testImportSequence() 407 const Decl *ToImport = selectFirst<Decl>(DeclToImportID, FoundDecl); in testImportSequence() 415 auto FoundDecl = match(FinalSelectPredicate.bind(DeclToVerifyID), in testImportSequence() local 417 EXPECT_TRUE(FoundDecl.size() == 1); in testImportSequence() 418 const Decl *ToVerify = selectFirst<Decl>(DeclToVerifyID, FoundDecl); in testImportSequence()
|
| /llvm-project-15.0.7/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 | 941 DeclAccessPair FoundDecl; member 1280 DeclAccessPair FoundDecl, 1309 void AddConstructorInitializationStep(DeclAccessPair FoundDecl,
|
| H A D | Overload.h | 820 DeclAccessPair FoundDecl; member 1185 DeclAccessPair FoundDecl; member
|
| H A D | Sema.h | 3863 void AddMethodCandidate(DeclAccessPair FoundDecl, 3871 DeclAccessPair FoundDecl, 3881 DeclAccessPair FoundDecl, 3906 CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, 3916 DeclAccessPair FoundDecl, 5652 DeclAccessPair FoundDecl, 5680 ValueDecl *Member, DeclAccessPair FoundDecl, 5688 ValueDecl *Member, DeclAccessPair FoundDecl, 6074 NamedDecl *FoundDecl, 6096 NamedDecl *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,
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.h | 37 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl);
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 228 DeclAccessPair FoundDecl = DeclAccessPair::make(MemberDecl, AS_public); in makeMemberExpression() local 231 SourceLocation(), MemberDecl, FoundDecl, in makeMemberExpression() 247 for (NamedDecl *FoundDecl : Decls) in findMemberField() 248 if (!FoundDecl->getDeclContext()->isFunctionOrMethod()) in findMemberField() 249 return cast<ValueDecl>(FoundDecl); in findMemberField()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTImporter.rst | 53 for (auto FoundDecl : FoundDeclsList) { 54 if (StructurallyEquivalentDecls(FoundDecl, FromD)) { 55 ToDecl = FoundDecl;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | IncludeFixer.cpp | 468 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, in collectAccessibleScopes() function
|