diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-23 03:23:08 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-23 03:23:08 +0000 |
commit | 8f36aba016c2d236a90f9ecf0a66904209202202 (patch) | |
tree | 5bf42b6f3bc3025e22d50be590aeb8f1f4f46c33 /lib/AST/DeclObjC.cpp | |
parent | 10b0e1fa3aabd8877dbbc0df1f2414e04afd5fdd (diff) |
The ivars in an ObjCImplementationDecl are now stored in the
DeclContext rather than in a separate list. This makes PCH
(de-)serialization trivial, so that ivars can be loaded lazily.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index 49ff6d53c0..bcd2e08f6d 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -637,12 +637,6 @@ ObjCImplementationDecl::Create(ASTContext &C, DeclContext *DC, return new (C) ObjCImplementationDecl(DC, L, ClassInterface, SuperDecl); } -/// Destroy - Call destructors and release memory. -void ObjCImplementationDecl::Destroy(ASTContext &C) { - IVars.Destroy(C); - Decl::Destroy(C); -} - //===----------------------------------------------------------------------===// // ObjCCompatibleAliasDecl //===----------------------------------------------------------------------===// |