Lines Matching defs:CD
933 if (const ObjCCategoryDecl *CD =
935 if (!CD->IsClassExtension()) {
936 Diag(PropertyLoc, diag::error_category_property) << CD->getDeclName();
2085 ObjCContainerDecl *CD = cast<ObjCContainerDecl>(property->getDeclContext());
2086 if (CD->isInvalidDecl())
2089 GetterMethod = CD->getInstanceMethod(property->getGetterName());
2093 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD))
2098 SetterMethod = CD->getInstanceMethod(property->getSetterName());
2100 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD))
2152 resultTy, nullptr, CD,
2160 CD->addDecl(GetterMethod);
2197 nullptr, CD, /*isInstance=*/true,
2233 CD->addDecl(SetterMethod);
2265 ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(CD);
2267 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CD))
2269 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(CD))