Lines Matching defs:ObjCContainerDecl
690 /// ObjCContainerDecl - Represents a container for method declarations.
694 class ObjCContainerDecl : public NamedDecl, public DeclContext {
704 ObjCContainerDecl(Kind DK, DeclContext *DC,
818 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) {
819 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D));
821 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) {
822 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC));
851 class ObjCInterfaceDecl : public ObjCContainerDecl
990 return ObjCContainerDecl::getSourceRange();
1616 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc,
1625 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
1726 class ObjCProtocolDecl : public ObjCContainerDecl,
1880 return ObjCContainerDecl::getSourceRange();
1929 class ObjCCategoryDecl : public ObjCContainerDecl {
2066 class ObjCImplDecl : public ObjCContainerDecl {
2076 : ObjCContainerDecl(DK, DC,