Searched refs:getFoundDecl (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h199 NamedDecl *getFoundDecl() const { function in class:clang::ConceptReference
272 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } function in class:clang::TypeConstraint
H A DExprConcepts.h110 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } function in class:clang::final
H A DTypeLoc.h681 UsingShadowDecl *getFoundDecl() const { return getTypePtr()->getFoundDecl(); } function in class:clang::UsingTypeLoc
2156 NamedDecl *getFoundDecl() const {
2158 return CR->getFoundDecl();
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp84 if (auto *D = dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) {
H A DUncountedLocalVarsChecker.cpp189 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) {
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h65 return visit(Expr->getFoundDecl(), Expr->getLocation());
69 return visit(Expr->getFoundDecl().getDecl(), Expr->getMemberLoc());
/freebsd-current/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterUtils.cpp68 return dyn_cast<NamespaceDecl>(R.getFoundDecl());
100 return llvm::dyn_cast<NamedDecl>(R.getFoundDecl());
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h146 NamedDecl *getFoundDecl() const { function in class:clang::TypoCorrection
152 auto *D = getFoundDecl();
H A DLookup.h58 /// criteria. getFoundDecl() will return this declaration.
327 /// getFoundDecl().
555 return dyn_cast<DeclClass>(getFoundDecl());
563 NamedDecl *getFoundDecl() const { function in class:clang::LookupResult
565 && "getFoundDecl called on non-unique result");
577 return getResultKind() == Found && isa<TagDecl>(getFoundDecl());
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp216 const NamedDecl *Decl = Expr->getFoundDecl();
270 const NamedDecl *Decl = Expr->getFoundDecl();
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp839 FoundDecl = BaseResult.getFoundDecl();
875 FoundDecl = FieldResult.getFoundDecl();
918 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl());
920 FD = dyn_cast<IndirectFieldDecl>(FieldResult.getFoundDecl());
H A DScopeInfo.cpp239 Callback(cast<ValueDecl>(DRE->getFoundDecl()), E);
H A DHLSLExternalSemaSource.cpp51 NamedDecl *Found = Result.getFoundDecl();
137 auto *VD = cast<ValueDecl>(R.getFoundDecl());
H A DSemaCXXScopeSpec.cpp411 NamedDecl *Result = Found.getFoundDecl();
633 if (NamedDecl *ND = Corrected.getFoundDecl())
H A DSemaTemplate.cpp524 if (auto *ND = Corrected.getFoundDecl())
592 getAsTemplateNameDecl(FoundOuter.getFoundDecl()))) {
602 getAsTemplateNameDecl(Found.getFoundDecl())->getCanonicalDecl() !=
611 Diag(FoundOuter.getFoundDecl()->getLocation(),
642 Found = DRE->getFoundDecl();
695 auto *ND = Corrected.getFoundDecl();
4231 if (Corrected && Corrected.getFoundDecl()) {
5115 R.getFoundDecl(),
9883 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl())))
9893 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) {
[all...]
H A DSemaTemplateVariadic.cpp1027 ParameterPack = R.getFoundDecl();
H A DSemaExprObjC.cpp2113 Corrected.isKeyword() ? nullptr : Corrected.getFoundDecl();
2336 NamedDecl *ND = Result.getFoundDecl();
4021 NamedDecl *Target = R.getFoundDecl();
4085 Target = R.getFoundDecl();
4253 Target = R.getFoundDecl();
H A DSemaLookup.cpp4659 IsDeprecated(Correction.getFoundDecl()),
4663 IsDeprecated(RI->getFoundDecl()),
5023 Res.getFoundDecl()->isDefinedOutsideFunctionOrMethod()))) {
5836 NamedDecl *Decl = Correction.getFoundDecl();
5848 Correction.isKeyword() ? nullptr : Correction.getFoundDecl();
H A DSemaDecl.cpp548 IIDecl = Result.getFoundDecl();
1035 NamedDecl *FirstDecl = Corrected.getFoundDecl();
1556 return Previous.getFoundDecl()->hasAttr<OverloadableAttr>();
4608 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl());
4616 Old = dyn_cast<VarDecl>(Previous.getFoundDecl());
6510 Previous.getFoundDecl()->isTemplateParameter()) {
6514 Previous.getFoundDecl());
8135 isDeclInScope(Previous.getFoundDecl(), OriginalDC, S, false));
8148 isa<FieldDecl>(Previous.getFoundDecl()) &&
8322 NamedDecl *ShadowedDecl = R.getFoundDecl();
[all...]
H A DSemaExpr.cpp2546 NamedDecl *ND = Corrected.getFoundDecl();
2907 MightBeImplicitMember = isa<FieldDecl>(R.getFoundDecl()) ||
2908 isa<IndirectFieldDecl>(R.getFoundDecl()) ||
2909 isa<MSPropertyDecl>(R.getFoundDecl());
3055 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod());
3088 Lookup.getFoundDecl()->isDefinedOutsideFunctionOrMethod()) {
3091 dyn_cast<ObjCIvarDecl>(Lookup.getFoundDecl())) {
3418 const auto *FD = dyn_cast<FunctionDecl>(R.getFoundDecl());
3431 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(),
3439 CheckDeclInExpr(*this, R.getNameLoc(), R.getFoundDecl(),
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp356 StringRef DeallocatorName = DE->getFoundDecl()->getName();
366 if (DE->getFoundDecl()->getName() == "kCFAllocatorNull")
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp1150 if (Node->getDecl() != Node->getFoundDecl()) {
1152 dumpBareDeclRef(Node->getFoundDecl());
1546 dumpBareDeclRef(Node->getFoundDecl());
1733 dumpDeclRef(T->getFoundDecl());
2335 if (TC->getNamedConcept() != TC->getFoundDecl()) {
2337 dumpBareDeclRef(TC->getFoundDecl());
H A DASTStructuralEquivalence.cpp279 return IsStructurallyEquivalent(Context, E1->getFoundDecl(),
280 E2->getFoundDecl());
1092 if (!IsStructurallyEquivalent(Context, cast<UsingType>(T1)->getFoundDecl(),
1093 cast<UsingType>(T2)->getFoundDecl()))
H A DJSONNodeDumper.cpp577 JOS.attribute("decl", createBareDeclRef(TT->getFoundDecl()));
1300 if (DRE->getDecl() != DRE->getFoundDecl())
1302 createBareDeclRef(DRE->getFoundDecl()));
/freebsd-current/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp682 CurrentPackingBits.addBit(E->getDecl() != E->getFoundDecl());
694 (E->getDecl() == E->getFoundDecl()) &&
702 if (E->getDecl() != E->getFoundDecl())
703 Record.AddDeclRef(E->getFoundDecl());
975 (E->getFoundDecl().getDecl() != E->getMemberDecl() ||
976 E->getFoundDecl().getAccess() != E->getMemberDecl()->getAccess());
999 DeclAccessPair FoundDecl = E->getFoundDecl();

Completed in 311 milliseconds

12