| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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 | 509 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 517 NamedDecl *getFoundDecl() const { in getFoundDecl() function 531 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 151 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| H A D | Expr.h | 1319 NamedDecl *getFoundDecl() { in getFoundDecl() function 1325 const NamedDecl *getFoundDecl() const { in getFoundDecl() function 3242 DeclAccessPair getFoundDecl() const { in getFoundDecl() function
|
| H A D | TypeLoc.h | 2092 NamedDecl *getFoundDecl() const { in getFoundDecl() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 821 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 857 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 900 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 902 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 | 518 if (auto *ND = Corrected.getFoundDecl()) in LookupTemplateName() 586 getAsTemplateNameDecl(FoundOuter.getFoundDecl()))) { in LookupTemplateName() 605 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 636 Found = DRE->getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 689 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 3892 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 4753 R.getFoundDecl(), in BuildTemplateIdExpr() 9224 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 9243 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 10693 if (auto *TD = getAsTypeTemplateDecl(Result.getFoundDecl())) { in CheckTypenameType() [all …]
|
| H A D | SemaDecl.cpp | 466 IIDecl = Result.getFoundDecl(); in getTypeName() 967 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 4118 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 7475 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 7640 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 7656 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 7667 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 10852 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration() 13760 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnParamDeclarator() 15816 NamedDecl *ND = Previous.getFoundDecl(); in ActOnTag() [all …]
|
| H A D | SemaExprObjC.cpp | 2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2336 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 4023 Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 4089 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4257 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
|
| H A D | SemaTemplateVariadic.cpp | 1017 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
| H A D | SemaExpr.cpp | 2289 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup() 2649 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2650 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2651 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 2826 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) { in LookupIvarInObjCMethod() 2829 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) { in LookupIvarInObjCMethod() 3157 const auto *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); in ShouldLookupResultBeMultiVersionOverload() 3178 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl())) in BuildDeclarationNameExpr() 5784 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall() 18208 DRE->getFoundDecl(), CopiedTemplateArgs(DRE), NOUR); in rebuildPotentialResultsAsNonOdrUsed() [all …]
|
| H A D | SemaLookup.cpp | 4678 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5469 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5481 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
| H A D | SemaCoroutine.cpp | 1201 S.Diag(Found.getFoundDecl()->getLocation(), diag::note_member_declared_here) in makeReturnOnAllocFailure()
|
| H A D | SemaExprMember.cpp | 1064 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 364 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 374 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 439 Record.AddDeclRef(E->getFoundDecl()); in VisitConceptSpecializationExpr() 610 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 624 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 633 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 634 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 895 (E->getFoundDecl().getDecl() != E->getMemberDecl() || in VisitMemberExpr() 896 E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess()); in VisitMemberExpr() 918 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 1023 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1025 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1406 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 2069 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2071 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
| H A D | JSONNodeDumper.cpp | 1195 if (DRE->getDecl() != DRE->getFoundDecl()) in VisitDeclRefExpr() 1197 createBareDeclRef(DRE->getFoundDecl())); in VisitDeclRefExpr()
|
| H A D | ASTStructuralEquivalence.cpp | 266 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 267 E2->getFoundDecl()); in IsStmtEquivalent()
|