clang API Documentation
#include <DeclObjC.h>
Definition at line 1841 of file DeclObjC.h.
Definition at line 1879 of file DeclObjC.h.
typedef llvm::iterator_range<specific_decl_iterator<ObjCPropertyImplDecl> > clang::ObjCImplDecl::propimpl_range |
Definition at line 1881 of file DeclObjC.h.
clang::ObjCImplDecl::ObjCImplDecl | ( | Kind | DK, |
DeclContext * | DC, | ||
ObjCInterfaceDecl * | classInterface, | ||
SourceLocation | nameLoc, | ||
SourceLocation | atStartLoc | ||
) | [inline, protected] |
Definition at line 1848 of file DeclObjC.h.
void clang::ObjCImplDecl::addClassMethod | ( | ObjCMethodDecl * | method | ) | [inline] |
Definition at line 1867 of file DeclObjC.h.
References clang::DeclContext::addDecl(), and clang::Decl::setLexicalDeclContext().
void clang::ObjCImplDecl::addInstanceMethod | ( | ObjCMethodDecl * | method | ) | [inline] |
Definition at line 1862 of file DeclObjC.h.
References clang::DeclContext::addDecl(), and clang::Decl::setLexicalDeclContext().
void ObjCImplDecl::addPropertyImplementation | ( | ObjCPropertyImplDecl * | property | ) |
Definition at line 1729 of file DeclObjC.cpp.
References clang::DeclContext::addDecl().
Referenced by clang::Sema::ActOnPropertyImplDecl().
static bool clang::ObjCImplDecl::classof | ( | const Decl * | D | ) | [inline, static] |
Reimplemented from clang::ObjCContainerDecl.
Reimplemented in clang::ObjCImplementationDecl, and clang::ObjCCategoryImplDecl.
Definition at line 1893 of file DeclObjC.h.
References classofKind(), and clang::Decl::getKind().
static bool clang::ObjCImplDecl::classofKind | ( | Kind | K | ) | [inline, static] |
Reimplemented from clang::ObjCContainerDecl.
Reimplemented in clang::ObjCImplementationDecl, and clang::ObjCCategoryImplDecl.
Definition at line 1894 of file DeclObjC.h.
Referenced by classof().
ObjCPropertyImplDecl * ObjCImplDecl::FindPropertyImplDecl | ( | IdentifierInfo * | Id | ) | const |
FindPropertyImplDecl - This method looks up a previous ObjCPropertyImplDecl added to the list of those properties @synthesized/@dynamic in this category @implementation block.
Definition at line 1770 of file DeclObjC.cpp.
References property_impls().
Referenced by clang::Sema::ActOnPropertyImplDecl(), clang::Sema::AtomicPropertySetterGetterRules(), ClassImplementsAllMethodsAndProperties(), clang::Sema::DefaultSynthesizeProperties(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
ObjCPropertyImplDecl * ObjCImplDecl::FindPropertyImplIvarDecl | ( | IdentifierInfo * | ivarId | ) | const |
FindPropertyImplIvarDecl - This method lookup the ivar in the list of properties implemented in this @implementation block and returns the implemented property that uses it.
Definition at line 1757 of file DeclObjC.cpp.
References property_impls().
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::Sema::DefaultSynthesizeProperties().
const ObjCInterfaceDecl* clang::ObjCImplDecl::getClassInterface | ( | ) | const [inline] |
Definition at line 1858 of file DeclObjC.h.
Referenced by clang::Sema::ActOnPropertyImplDecl(), clang::Sema::CheckImplementationIvars(), checkObjCDealloc(), CheckObjCInstMethSignature(), checkObjCUnusedIvar(), clang::CodeGen::CGObjCRuntime::ComputeIvarBaseOffset(), clang::Sema::DefaultSynthesizeProperties(), emitCXXDestructMethod(), clang::CodeGen::CodeGenFunction::GenerateObjCCtorDtorMethod(), clang::CodeGen::CodeGenFunction::GenerateObjCGetter(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::GenerateObjCSetter(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::ASTContext::getASTObjCImplementationLayout(), clang::ObjCCategoryImplDecl::getCategoryDecl(), clang::ObjCImplementationDecl::getIdentifier(), clang::ObjCImplementationDecl::getObjCRuntimeNameAsString(), LookupFieldBitOffset(), needsDestructMethod(), clang::Sema::SetIvarInitializers(), clang::ASTDeclWriter::VisitObjCImplDecl(), and clang::ASTNodeImporter::VisitObjCImplementationDecl().
ObjCInterfaceDecl* clang::ObjCImplDecl::getClassInterface | ( | ) | [inline] |
Definition at line 1859 of file DeclObjC.h.
propimpl_range clang::ObjCImplDecl::property_impls | ( | ) | const [inline] |
Definition at line 1883 of file DeclObjC.h.
References propimpl_begin(), and propimpl_end().
Referenced by checkObjCDealloc(), createObjCPropertyGetter(), clang::Sema::DiagnoseOwningPropertyGetterSynthesis(), clang::Sema::DiagnoseUnimplementedProperties(), FindPropertyImplDecl(), FindPropertyImplIvarDecl(), and clang::ASTContext::getObjCPropertyImplDeclForPropertyDecl().
propimpl_iterator clang::ObjCImplDecl::propimpl_begin | ( | ) | const [inline] |
Definition at line 1886 of file DeclObjC.h.
References clang::DeclContext::decls_begin().
Referenced by property_impls().
propimpl_iterator clang::ObjCImplDecl::propimpl_end | ( | ) | const [inline] |
Definition at line 1889 of file DeclObjC.h.
References clang::DeclContext::decls_end().
Referenced by property_impls().
void ObjCImplDecl::setClassInterface | ( | ObjCInterfaceDecl * | IFace | ) |
Definition at line 1735 of file DeclObjC.cpp.
References clang::ObjCInterfaceDecl::FindCategoryDeclaration(), clang::Decl::getASTContext(), clang::NamedDecl::getIdentifier(), and clang::ASTContext::setObjCImplementation().
Referenced by clang::ASTDeclReader::VisitObjCImplDecl().