Home
last modified time | relevance | path

Searched refs:getFoundDecl (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h199 NamedDecl *getFoundDecl() const { in getFoundDecl() function
272 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl() function
H A DExprConcepts.h110 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl() function
H A DTypeLoc.h681 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 DRecursiveSymbolVisitor.h65 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 DInterpreterUtils.cpp68 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 DASTUtils.cpp84 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in isASafeCallArg()
H A DUncountedLocalVarsChecker.cpp189 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h146 NamedDecl *getFoundDecl() const { in getFoundDecl() function
152 auto *D = getFoundDecl(); in getCorrectionDecl()
H A DLookup.h555 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 DSemaStmtAsm.cpp839 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 DHLSLExternalSemaSource.cpp51 NamedDecl *Found = Result.getFoundDecl(); in BuiltinTypeDeclBuilder()
137 auto *VD = cast<ValueDecl>(R.getFoundDecl()); in lookupBuiltinFunction()
H A DScopeInfo.cpp239 Callback(cast<ValueDecl>(DRE->getFoundDecl()), E); in visitPotentialCaptures()
H A DSemaCXXScopeSpec.cpp411 NamedDecl *Result = Found.getFoundDecl(); in FindFirstQualifierInScope()
633 if (NamedDecl *ND = Corrected.getFoundDecl()) in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp524 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 DSemaExprObjC.cpp2113 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 DSemaLookup.cpp4659 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 DSemaDecl.cpp548 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 DSemaTemplateVariadic.cpp1027 ParameterPack = R.getFoundDecl(); in ActOnSizeofParameterPackExpr()
H A DSemaExpr.cpp2546 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 DUSRLocFinder.cpp216 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 DMacOSKeychainAPIChecker.cpp356 StringRef DeallocatorName = DE->getFoundDecl()->getName(); in checkPreStmt()
366 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull") in checkPreStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp1150 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 DASTStructuralEquivalence.cpp279 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 DJSONNodeDumper.cpp577 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 DASTWriterStmt.cpp682 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()

12