diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-05-05 18:51:55 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-05-05 18:51:55 +0000 |
commit | 46b55e56d029aec699fc2701e43d70264da9ecd8 (patch) | |
tree | 261a5b8ad604a12c4e8c5fdabd4b0df71a0e3c02 /lib/AST/DeclObjC.cpp | |
parent | e28565b994431adba60a86b32ae8663c386879e2 (diff) |
percolate @optional/@required protocols down to ASTs for
properties declared in the protocol.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index 89f6d2c501..0cb777d8de 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -112,7 +112,8 @@ ObjCCompatibleAliasDecl::Create(ASTContext &C, ObjCPropertyDecl *ObjCPropertyDecl::Create(ASTContext &C, SourceLocation L, IdentifierInfo *Id, - QualType T) { + QualType T, + PropertyControl propControl) { void *Mem = C.getAllocator().Allocate<ObjCPropertyDecl>(); return new (Mem) ObjCPropertyDecl(L, Id, T); } |