Home
last modified time | relevance | path

Searched refs:ImplDecl (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp767 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar() local
768 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()
824 const ObjCImplementationDecl *ImplDecl = in createObjCPropertyGetter() local
826 if (ImplDecl) { in createObjCPropertyGetter()
827 for (const auto *I : ImplDecl->property_impls()) { in createObjCPropertyGetter()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp566 ObjCImplDecl *ImplDecl = Interface->getImplementation(); in diagnoseMissingReleases() local
569 ImplDecl->FindPropertyImplIvarDecl(IvarDecl->getIdentifier()); in diagnoseMissingReleases()
576 OS << "The '" << *IvarDecl << "' ivar in '" << *ImplDecl in diagnoseMissingReleases()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1052 ObjCMethodDecl *ImplDecl = ObjCMethodDecl::Create( in RedeclarePropertyAccessor() local
1060 ImplDecl->getMethodFamily(); in RedeclarePropertyAccessor()
1062 ImplDecl->setAttrs(Decl->getAttrs()); in RedeclarePropertyAccessor()
1063 ImplDecl->setSelfDecl(Decl->getSelfDecl()); in RedeclarePropertyAccessor()
1064 ImplDecl->setCmdDecl(Decl->getCmdDecl()); in RedeclarePropertyAccessor()
1067 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
1068 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()
1069 ImplDecl->setDefined(false); in RedeclarePropertyAccessor()
1070 return ImplDecl; in RedeclarePropertyAccessor()
H A DSemaDeclObjC.cpp3853 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars() local
3854 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars()
3855 Ivars = ImplDecl->ivars(); in DiagnoseVariableSizedIvars()
H A DSemaExpr.cpp17471 CXXRecordDecl *ImplDecl = nullptr; in LookupStdSourceLocationImpl() local
17483 ImplDecl = ResultImpl.getAsSingle<CXXRecordDecl>(); in LookupStdSourceLocationImpl()
17489 if (!ImplDecl || !ImplDecl->isCompleteDefinition()) { in LookupStdSourceLocationImpl()
17496 if (ImplDecl->isUnion() || !ImplDecl->isStandardLayout() || in LookupStdSourceLocationImpl()
17497 ImplDecl->getNumBases() != 0) { in LookupStdSourceLocationImpl()
17503 for (FieldDecl *F : ImplDecl->fields()) { in LookupStdSourceLocationImpl()
17534 return ImplDecl; in LookupStdSourceLocationImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1387 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl() local
1389 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1717 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin() local
1719 if (!ImplDecl->ivar_empty()) { in all_declared_ivar_begin()
1721 for (auto *IV : ImplDecl->ivars()) { in all_declared_ivar_begin()
H A DExpr.cpp2308 const CXXRecordDecl *ImplDecl = getType()->getPointeeCXXRecordDecl(); in EvaluateInContext() local
2309 assert(ImplDecl); in EvaluateInContext()
2316 for (const FieldDecl *F : ImplDecl->fields()) { in EvaluateInContext()
H A DASTContext.cpp2842 if (ObjCImplementationDecl *ImplDecl = OI->getImplementation()) in CountNonClassIvars() local
2843 count += ImplDecl->ivar_size(); in CountNonClassIvars()