Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1037 ObjCMethodDecl *ImplDecl = ObjCMethodDecl::Create( in RedeclarePropertyAccessor() local
1045 ImplDecl->getMethodFamily(); in RedeclarePropertyAccessor()
1047 ImplDecl->setAttrs(Decl->getAttrs()); in RedeclarePropertyAccessor()
1048 ImplDecl->setSelfDecl(Decl->getSelfDecl()); in RedeclarePropertyAccessor()
1049 ImplDecl->setCmdDecl(Decl->getCmdDecl()); in RedeclarePropertyAccessor()
1052 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
1053 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()
1054 ImplDecl->setDefined(false); in RedeclarePropertyAccessor()
1055 return ImplDecl; in RedeclarePropertyAccessor()
H A DSemaDeclObjC.cpp3856 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars() local
3857 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars()
3858 Ivars = ImplDecl->ivars(); in DiagnoseVariableSizedIvars()
H A DSemaExpr.cpp16461 CXXRecordDecl *ImplDecl = nullptr; in LookupStdSourceLocationImpl() local
16473 ImplDecl = ResultImpl.getAsSingle<CXXRecordDecl>(); in LookupStdSourceLocationImpl()
16479 if (!ImplDecl || !ImplDecl->isCompleteDefinition()) { in LookupStdSourceLocationImpl()
16486 if (ImplDecl->isUnion() || !ImplDecl->isStandardLayout() || in LookupStdSourceLocationImpl()
16487 ImplDecl->getNumBases() != 0) { in LookupStdSourceLocationImpl()
16493 for (FieldDecl *F : ImplDecl->fields()) { in LookupStdSourceLocationImpl()
16524 return ImplDecl; in LookupStdSourceLocationImpl()
/freebsd/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()
1711 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin() local
1713 if (!ImplDecl->ivar_empty()) { in all_declared_ivar_begin()
1715 for (auto *IV : ImplDecl->ivars()) { in all_declared_ivar_begin()
H A DExpr.cpp2333 const CXXRecordDecl *ImplDecl = getType()->getPointeeCXXRecordDecl(); in EvaluateInContext() local
2334 assert(ImplDecl); in EvaluateInContext()
2341 for (const FieldDecl *F : ImplDecl->fields()) { in EvaluateInContext()
H A DASTContext.cpp2897 if (ObjCImplementationDecl *ImplDecl = OI->getImplementation()) in CountNonClassIvars() local
2898 count += ImplDecl->ivar_size(); in CountNonClassIvars()