clang
3.9.0
|
ObjCPropertyImplDecl - Represents implementation declaration of a property in a class or category implementation block. More...
#include <DeclObjC.h>
Public Types | |
enum | Kind { Synthesize, Dynamic } |
Public Member Functions | |
SourceRange | getSourceRange () const override LLVM_READONLY |
SourceLocation | getLocStart () const LLVM_READONLY |
void | setAtLoc (SourceLocation Loc) |
ObjCPropertyDecl * | getPropertyDecl () const |
void | setPropertyDecl (ObjCPropertyDecl *Prop) |
Kind | getPropertyImplementation () const |
ObjCIvarDecl * | getPropertyIvarDecl () const |
SourceLocation | getPropertyIvarDeclLoc () const |
void | setPropertyIvarDecl (ObjCIvarDecl *Ivar, SourceLocation IvarLoc) |
bool | isIvarNameSpecified () const |
For @synthesize, returns true if an ivar name was explicitly specified. More... | |
Expr * | getGetterCXXConstructor () const |
void | setGetterCXXConstructor (Expr *getterCXXConstructor) |
Expr * | getSetterCXXAssignment () const |
void | setSetterCXXAssignment (Expr *setterCXXAssignment) |
Static Public Member Functions | |
static ObjCPropertyImplDecl * | Create (ASTContext &C, DeclContext *DC, SourceLocation atLoc, SourceLocation L, ObjCPropertyDecl *property, Kind PK, ObjCIvarDecl *ivarDecl, SourceLocation ivarLoc) |
static ObjCPropertyImplDecl * | CreateDeserialized (ASTContext &C, unsigned ID) |
static bool | classof (const Decl *D) |
static bool | classofKind (Decl::Kind K) |
Friends | |
class | ASTDeclReader |
ObjCPropertyImplDecl - Represents implementation declaration of a property in a class or category implementation block.
For example: @synthesize prop1 = ivar1;
Definition at line 2655 of file DeclObjC.h.
Enumerator | |
---|---|
Synthesize | |
Dynamic |
Definition at line 2657 of file DeclObjC.h.
Definition at line 2757 of file DeclObjC.h.
References classofKind().
|
inlinestatic |
Definition at line 2758 of file DeclObjC.h.
Referenced by classof().
|
static |
Definition at line 2188 of file DeclObjC.cpp.
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
|
static |
Definition at line 2200 of file DeclObjC.cpp.
|
inline |
Definition at line 2743 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), hasTrivialGetExpr(), and clang::ASTDeclWriter::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2709 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2712 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateObjCGetter(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::GenerateObjCSetter(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), isSynthesizedRetainableProperty(), clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2717 of file DeclObjC.h.
References Dynamic, and Synthesize.
Referenced by isSynthesizedRetainableProperty(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2721 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::ASTContext::getObjCEncodingForPropertyDecl(), isSynthesizedRetainableProperty(), Scan(), clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2724 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2750 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), hasTrivialSetExpr(), and clang::ASTDeclWriter::VisitObjCPropertyImplDecl().
|
override |
Definition at line 2207 of file DeclObjC.cpp.
References clang::SourceLocation::isValid().
|
inline |
For @synthesize, returns true if an ivar name was explicitly specified.
Definition at line 2739 of file DeclObjC.h.
References clang::SourceLocation::isValid().
|
inline |
Definition at line 2710 of file DeclObjC.h.
Referenced by clang::ASTDeclReader::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2746 of file DeclObjC.h.
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::ASTDeclReader::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2715 of file DeclObjC.h.
Referenced by clang::ASTDeclReader::VisitObjCPropertyImplDecl().
|
inline |
Definition at line 2726 of file DeclObjC.h.
|
inline |
Definition at line 2753 of file DeclObjC.h.
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::ASTDeclReader::VisitObjCPropertyImplDecl().
|
friend |
Definition at line 2760 of file DeclObjC.h.