/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTConcept.h | 199 NamedDecl *getFoundDecl() const { in getFoundDecl() function 272 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl() function
|
H A D | ExprConcepts.h | 110 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl() function
|
H A D | TypeLoc.h | 681 UsingShadowDecl *getFoundDecl() const { return getTypePtr()->getFoundDecl(); } in getFoundDecl() function 2156 NamedDecl *getFoundDecl() const { in getFoundDecl() function 2158 return CR->getFoundDecl(); in getFoundDecl()
|
/freebsd/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/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | InterpreterUtils.cpp | 68 return dyn_cast<NamespaceDecl>(R.getFoundDecl()); in LookupNamespace() 100 return llvm::dyn_cast<NamedDecl>(R.getFoundDecl()); in LookupNamed()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | ASTUtils.cpp | 84 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/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 | 555 return dyn_cast<DeclClass>(getFoundDecl()); in getAsSingle() 563 NamedDecl *getFoundDecl() const { in getFoundDecl() function 577 return getResultKind() == Found && isa<TagDecl>(getFoundDecl()); in isSingleTagDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 839 FoundDecl = BaseResult.getFoundDecl(); in LookupInlineAsmField() 875 FoundDecl = FieldResult.getFoundDecl(); in LookupInlineAsmField() 918 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField() 920 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
|
H A D | HLSLExternalSemaSource.cpp | 51 NamedDecl *Found = Result.getFoundDecl(); in BuiltinTypeDeclBuilder() 137 auto *VD = cast<ValueDecl>(R.getFoundDecl()); in lookupBuiltinFunction()
|
H A D | ScopeInfo.cpp | 239 Callback(cast<ValueDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
|
H A D | SemaCXXScopeSpec.cpp | 411 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope() 633 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
|
H A D | SemaTemplate.cpp | 524 if (auto *ND = Corrected.getFoundDecl()) in LookupTemplateName() 592 getAsTemplateNameDecl(FoundOuter.getFoundDecl()))) { in LookupTemplateName() 611 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 642 Found = DRE->getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 695 auto *ND = Corrected.getFoundDecl(); in diagnoseExprIntendedAsTemplateName() 4231 if (Corrected && Corrected.getFoundDecl()) { in resolveAssumedTemplateNameAsType() 5115 R.getFoundDecl(), in BuildTemplateIdExpr() 9883 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization() 9902 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { in CheckMemberSpecialization() 11359 if (auto *TD = getAsTypeTemplateDecl(Result.getFoundDecl())) { in CheckTypenameType() [all …]
|
H A D | SemaExprObjC.cpp | 2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl(); in HandleExprPropertyRefExpr() 2336 NamedDecl *ND = Result.getFoundDecl(); in getObjCMessageKind() 4021 NamedDecl *Target = R.getFoundDecl(); in CheckObjCBridgeNSCast() 4085 Target = R.getFoundDecl(); in CheckObjCBridgeCFCast() 4253 Target = R.getFoundDecl(); in checkObjCBridgeRelatedComponents()
|
H A D | SemaLookup.cpp | 4659 IsDeprecated(Correction.getFoundDecl()), in addCorrection() 4663 IsDeprecated(RI->getFoundDecl()), in addCorrection() 5023 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) { in LookupPotentialTypoResult() 5836 NamedDecl *Decl = Correction.getFoundDecl(); in diagnoseTypo() 5848 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
|
H A D | SemaDecl.cpp | 548 IIDecl = Result.getFoundDecl(); in getTypeName() 1035 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() 4616 Old = dyn_cast<VarDecl>(Previous.getFoundDecl()); in MergeVarDecl() 6510 Previous.getFoundDecl()->isTemplateParameter()) { in HandleDeclarator() 8148 isa<FieldDecl>(Previous.getFoundDecl()) && in ActOnVariableDeclarator() 8322 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 8338 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 8349 NamedDecl *ShadowedDecl = R.getFoundDecl(); in getShadowedDeclaration() 11924 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration() 17498 NamedDecl *ND = Previous.getFoundDecl(); in ActOnTag() [all …]
|
H A D | SemaTemplateVariadic.cpp | 1027 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
|
H A D | SemaExpr.cpp | 2546 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup() 2907 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2908 isa<IndirectFieldDecl>(R.getFoundDecl()) || in ActOnIdExpression() 2909 isa<MSPropertyDecl>(R.getFoundDecl()); in ActOnIdExpression() 3091 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) { in LookupIvarInObjCMethod() 3418 const auto *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); in ShouldLookupResultBeMultiVersionOverload() 3439 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl(), in BuildDeclarationNameExpr() 6499 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall() 20139 DRE->getFoundDecl(), CopiedTemplateArgs(DRE), NOUR); in rebuildPotentialResultsAsNonOdrUsed() 21818 DRE->hasQualifier() ? &SS : nullptr, DRE->getFoundDecl(), in CheckPlaceholderExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 216 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitMemberExpr() 270 const NamedDecl *Decl = Expr->getFoundDecl(); in VisitDeclRefExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MacOSKeychainAPIChecker.cpp | 356 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt() 366 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TextNodeDumper.cpp | 1150 if (Node->getDecl() != Node->getFoundDecl()) { in VisitDeclRefExpr() 1152 dumpBareDeclRef(Node->getFoundDecl()); in VisitDeclRefExpr() 1546 dumpBareDeclRef(Node->getFoundDecl()); in VisitConceptSpecializationExpr() 1733 dumpDeclRef(T->getFoundDecl()); in VisitUsingType() 2335 if (TC->getNamedConcept() != TC->getFoundDecl()) { in VisitTemplateTypeParmDecl() 2337 dumpBareDeclRef(TC->getFoundDecl()); in VisitTemplateTypeParmDecl()
|
H A D | ASTStructuralEquivalence.cpp | 279 return IsStructurallyEquivalent(Context, E1->getFoundDecl(), in IsStmtEquivalent() 280 E2->getFoundDecl()); in IsStmtEquivalent() 1092 if (!IsStructurallyEquivalent(Context, cast<UsingType>(T1)->getFoundDecl(), in IsStructurallyEquivalent() 1093 cast<UsingType>(T2)->getFoundDecl())) in IsStructurallyEquivalent()
|
H A D | JSONNodeDumper.cpp | 577 JOS.attribute("decl", createBareDeclRef(TT->getFoundDecl())); in VisitUsingType() 1300 if (DRE->getDecl() != DRE->getFoundDecl()) in VisitDeclRefExpr() 1302 createBareDeclRef(DRE->getFoundDecl())); in VisitDeclRefExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterStmt.cpp | 682 CurrentPackingBits.addBit(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 694 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 702 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() 703 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr() 975 (E->getFoundDecl().getDecl() != E->getMemberDecl() || in VisitMemberExpr() 976 E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess()); in VisitMemberExpr() 999 DeclAccessPair FoundDecl = E->getFoundDecl(); in VisitMemberExpr()
|