Lines Matching defs:ObjCContainerDecl
979 /// ObjCContainerDecl - Represents a container for method declarations.
983 class ObjCContainerDecl : public NamedDecl, public DeclContext {
994 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1152 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) {
1153 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D));
1156 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) {
1157 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC));
1186 class ObjCInterfaceDecl : public ObjCContainerDecl
1331 return ObjCContainerDecl::getSourceRange();
1968 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc,
1977 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
2078 class ObjCProtocolDecl : public ObjCContainerDecl,
2248 return ObjCContainerDecl::getSourceRange();
2294 class ObjCCategoryDecl : public ObjCContainerDecl {
2439 class ObjCImplDecl : public ObjCContainerDecl {
2450 : ObjCContainerDecl(DK, DC, Id, nameLoc, atStartLoc),