| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 65 return visit(Expr->getFoundDecl(), Expr->getLocation()); in VisitDeclRefExpr() 69 return visit(Expr->getFoundDecl().getDecl(), Expr->getMemberLoc()); in VisitMemberExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MakeMemberFunctionConstCheck.cpp | 134 if (!OnConstObject || Member->getFoundDecl().getAccess() != AS_public) { in visitUser() 157 if (Member->getFoundDecl().getAccess() != AS_public && in visitUser()
|
| /llvm-project-15.0.7/clang-tools-extra/include-cleaner/lib/ |
| H A D | WalkAST.cpp | 35 report(DRE->getLocation(), DRE->getFoundDecl()); in VisitDeclRefExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindTarget.cpp | 263 if (auto *USD = llvm::dyn_cast<UsingShadowDecl>(DRE->getFoundDecl())) in add() 270 llvm::dyn_cast<UsingShadowDecl>(ME->getFoundDecl().getDecl())) in add() 369 Outer.add(ET->getFoundDecl(), Flags); in add() 724 {E->getFoundDecl()}}); in refInStmt() 736 if (llvm::isa<CXXDestructorDecl>(E->getFoundDecl().getDecl())) in refInStmt() 741 {E->getFoundDecl()}}); in refInStmt() 848 {L.getFoundDecl()}}); in refInTypeLoc()
|
| H A D | IncludeCleaner.cpp | 54 add(DRE->getFoundDecl()); in VisitDeclRefExpr() 60 add(ME->getFoundDecl().getDecl()); in VisitMemberExpr() 106 add(UT->getFoundDecl()); in VisitUsingType()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ASTUtils.cpp | 85 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
|
| H A D | UncountedLocalVarsChecker.cpp | 189 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 146 NamedDecl *getFoundDecl() const { in getFoundDecl() function 152 auto *D = getFoundDecl(); in getCorrectionDecl()
|
| H A D | Lookup.h | 535 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 543 NamedDecl *getFoundDecl() const { in getFoundDecl() function 557 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
| H A D | CallbacksCommon.h | 62 if (NamedDecl *ND = DRE->getFoundDecl()) { in stmtToString()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 148 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| H A D | TypeLoc.h | 675 UsingShadowDecl *getFoundDecl() const { return getTypePtr()->getFoundDecl(); } in getFoundDecl() function 2156 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | LexicallyOrderedRecursiveASTVisitorTest.cpp | 95 std::string Name = D->getFoundDecl()->getNameAsString(); in VisitDeclRefExpr()
|
| H A D | LookupTest.cpp | 217 auto *TD = Type.getFoundDecl()->getTargetDecl(); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 831 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 867 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 910 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 912 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
| H A D | ScopeInfo.cpp | 237 Callback(cast<VarDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
|
| H A D | SemaCXXScopeSpec.cpp | 390 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 657 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 522 if (auto *ND = Corrected.getFoundDecl()) in LookupTemplateName() 590 getAsTemplateNameDecl(FoundOuter.getFoundDecl()))) { in LookupTemplateName() 609 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 640 Found = DRE->getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 693 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 3950 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 4811 R.getFoundDecl(), in BuildTemplateIdExpr() 9326 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 9345 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 10795 if (auto *TD = getAsTypeTemplateDecl(Result.getFoundDecl())) { in CheckTypenameType() [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 216 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitMemberExpr() 269 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitDeclRefExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 363 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 373 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 1038 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1040 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1421 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 1545 dumpDeclRef(T->getFoundDecl()); in VisitUsingType() 2102 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2104 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 266 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 267 E2->getFoundDecl()); in IsStmtEquivalent() 957 if (!IsStructurallyEquivalent(Context, cast<UsingType>(T1)->getFoundDecl(), in IsStructurallyEquivalent() 958 cast<UsingType>(T2)->getFoundDecl())) in IsStructurallyEquivalent()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 441 Record.AddDeclRef(E->getFoundDecl()); in VisitConceptSpecializationExpr() 608 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 622 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 631 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 632 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 893 (E->getFoundDecl().getDecl() != E->getMemberDecl() || in VisitMemberExpr() 894 E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess()); in VisitMemberExpr() 916 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|
| /llvm-project-15.0.7/clang/unittests/Interpreter/ |
| H A D | InterpreterTest.cpp | 252 return R.getFoundDecl();
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 76 ->getFoundDecl() in TraverseTypeLoc()
|