diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-08 01:18:33 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-08 01:18:33 +0000 |
commit | 082b02e8403d3ee9d2ded969fbe0e5d472f04cd8 (patch) | |
tree | ddcfcdd6538dff86a39f9298f38571711705bdb2 /lib/AST/Decl.cpp | |
parent | 9c10fcfc3b9d2076efe701b60644a9987a93c503 (diff) |
Implemented memmove_collectable API for Next runtime
when struct variables with GC'able members are copied into.
Will provide a test case later.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index bcbf091a19..40aa030ab3 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -689,6 +689,7 @@ RecordDecl::RecordDecl(Kind DK, TagKind TK, DeclContext *DC, SourceLocation L, : TagDecl(DK, TK, DC, L, Id) { HasFlexibleArrayMember = false; AnonymousStructOrUnion = false; + HasObjectMember = false; assert(classof(static_cast<Decl*>(this)) && "Invalid Kind!"); } |