diff options
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index d3592e1416..ef4a6e1c3d 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -517,5 +517,14 @@ ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { return 0; } +ObjCPropertyImplDecl *ObjCPropertyImplDecl::Create(ASTContext &C, + SourceLocation atLoc, + SourceLocation L, + ObjCPropertyDecl *property, + PropertyImplKind kind, + ObjCIvarDecl *ivar) { + void *Mem = C.getAllocator().Allocate<ObjCPropertyImplDecl>(); + return new (Mem) ObjCPropertyImplDecl(atLoc, L, property, kind, ivar); +} |