clang API Documentation
#include <DeclObjC.h>
ObjCPropertyImplDecl - Represents implementation declaration of a property in a class or category implementation block. For example: @synthesize prop1 = ivar1;
Definition at line 2367 of file DeclObjC.h.
Lists the kind of concrete classes of Decl.
Reimplemented from clang::Decl.
Definition at line 2369 of file DeclObjC.h.
static bool clang::ObjCPropertyImplDecl::classof | ( | const Decl * | D | ) | [inline, static] |
Definition at line 2469 of file DeclObjC.h.
References classofKind(), and clang::Decl::getKind().
static bool clang::ObjCPropertyImplDecl::classofKind | ( | Decl::Kind | K | ) | [inline, static] |
Reimplemented from clang::Decl.
Definition at line 2470 of file DeclObjC.h.
Referenced by classof().
ObjCPropertyImplDecl * ObjCPropertyImplDecl::Create | ( | ASTContext & | C, |
DeclContext * | DC, | ||
SourceLocation | atLoc, | ||
SourceLocation | L, | ||
ObjCPropertyDecl * | property, | ||
Kind | PK, | ||
ObjCIvarDecl * | ivarDecl, | ||
SourceLocation | ivarLoc | ||
) | [static] |
Definition at line 1877 of file DeclObjC.cpp.
References AttributeLangSupport::C.
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
ObjCPropertyImplDecl * ObjCPropertyImplDecl::CreateDeserialized | ( | ASTContext & | C, |
unsigned | ID | ||
) | [static] |
Definition at line 1889 of file DeclObjC.cpp.
References AttributeLangSupport::C, and Dynamic.
Expr* clang::ObjCPropertyImplDecl::getGetterCXXConstructor | ( | ) | const [inline] |
Definition at line 2455 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), hasTrivialGetExpr(), and clang::ASTDeclWriter::VisitObjCPropertyImplDecl().
SourceLocation clang::ObjCPropertyImplDecl::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Decl.
Definition at line 2421 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
ObjCPropertyDecl* clang::ObjCPropertyImplDecl::getPropertyDecl | ( | ) | const [inline] |
Definition at line 2424 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(), clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
Kind clang::ObjCPropertyImplDecl::getPropertyImplementation | ( | ) | const [inline] |
Definition at line 2429 of file DeclObjC.h.
References Dynamic, and Synthesize.
Referenced by clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
ObjCIvarDecl* clang::ObjCPropertyImplDecl::getPropertyIvarDecl | ( | ) | const [inline] |
Definition at line 2433 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::ASTContext::getObjCEncodingForPropertyDecl(), Scan(), clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
SourceLocation clang::ObjCPropertyImplDecl::getPropertyIvarDeclLoc | ( | ) | const [inline] |
Definition at line 2436 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::VisitObjCPropertyImplDecl(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().
Expr* clang::ObjCPropertyImplDecl::getSetterCXXAssignment | ( | ) | const [inline] |
Definition at line 2462 of file DeclObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), hasTrivialSetExpr(), and clang::ASTDeclWriter::VisitObjCPropertyImplDecl().
SourceRange ObjCPropertyImplDecl::getSourceRange | ( | ) | const [override, virtual] |
Source range that this declaration covers.
Reimplemented from clang::Decl.
Definition at line 1896 of file DeclObjC.cpp.
References clang::Decl::getLocation(), and clang::SourceLocation::isValid().
bool clang::ObjCPropertyImplDecl::isIvarNameSpecified | ( | ) | const [inline] |
For @synthesize, returns true if an ivar name was explicitly specified.
\@synthesize int a = b; // true \@synthesize int a; // false
Definition at line 2451 of file DeclObjC.h.
References clang::Decl::getLocation(), and clang::SourceLocation::isValid().
void clang::ObjCPropertyImplDecl::setAtLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 2422 of file DeclObjC.h.
Referenced by clang::ASTDeclReader::VisitObjCPropertyImplDecl().
void clang::ObjCPropertyImplDecl::setGetterCXXConstructor | ( | Expr * | getterCXXConstructor | ) | [inline] |
Definition at line 2458 of file DeclObjC.h.
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::ASTDeclReader::VisitObjCPropertyImplDecl().
void clang::ObjCPropertyImplDecl::setPropertyDecl | ( | ObjCPropertyDecl * | Prop | ) | [inline] |
Definition at line 2427 of file DeclObjC.h.
Referenced by clang::ASTDeclReader::VisitObjCPropertyImplDecl().
void clang::ObjCPropertyImplDecl::setPropertyIvarDecl | ( | ObjCIvarDecl * | Ivar, |
SourceLocation | IvarLoc | ||
) | [inline] |
Definition at line 2438 of file DeclObjC.h.
void clang::ObjCPropertyImplDecl::setSetterCXXAssignment | ( | Expr * | setterCXXAssignment | ) | [inline] |
Definition at line 2465 of file DeclObjC.h.
Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::ASTDeclReader::VisitObjCPropertyImplDecl().
friend class ASTDeclReader [friend] |
Reimplemented from clang::Decl.
Definition at line 2472 of file DeclObjC.h.