reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5152 if (needsDestructMethod(D)) { 5156 ObjCMethodDecl::Create(getContext(), D->getLocation(), D->getLocation(), 5156 ObjCMethodDecl::Create(getContext(), D->getLocation(), D->getLocation(), 5157 cxxSelector, getContext().VoidTy, nullptr, D, 5161 D->addInstanceMethod(DTORMethod); 5162 CodeGenFunction(*this).GenerateObjCCtorDtorMethod(D, DTORMethod, false); 5163 D->setHasDestructors(true); 5168 if (D->getNumIvarInitializers() == 0 || 5169 AllTrivialInitializers(*this, D)) 5176 D->getLocation(), 5177 D->getLocation(), 5180 nullptr, D, /*isInstance=*/true, 5186 D->addInstanceMethod(CTORMethod); 5187 CodeGenFunction(*this).GenerateObjCCtorDtorMethod(D, CTORMethod, true); 5188 D->setHasNonZeroConstructors(true);