diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-12-17 02:04:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-12-17 02:04:30 +0000 |
commit | 45579f5e2904590ff9a4f48c7fbf2e60dccb0426 (patch) | |
tree | 38d84a1dd456d9c7fdd1cc30747118cd74da53ff /lib/AST/Decl.cpp | |
parent | e79837aacddb4713465006c0b030bc0675339573 (diff) |
Make sure that enumerators show up within the enumeration declaration. Fixes. PR clang/3220
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 4628761de5..dcefaa915b 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -121,7 +121,6 @@ EnumDecl *EnumDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, } void EnumDecl::Destroy(ASTContext& C) { - DeclContext::DestroyDecls(C); Decl::Destroy(C); } |