diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-05-24 15:09:56 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-05-24 15:09:56 +0000 |
| commit | a08154d85f8eb7ec27fce318a3796d83c362a851 (patch) | |
| tree | 92be8281728014189b76c73a6109ed16a3864b1e | |
| parent | 3f4ebba1fa8fc6fd26e71d4f3df2deec81cb15fb (diff) | |
| download | bcm5719-llvm-a08154d85f8eb7ec27fce318a3796d83c362a851.tar.gz bcm5719-llvm-a08154d85f8eb7ec27fce318a3796d83c362a851.zip | |
Call the correct destructor.
llvm-svn: 51544
| -rw-r--r-- | clang/lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index 7c44a20c2e7..a9afc816e2e 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/lib/AST/Decl.cpp @@ -231,7 +231,7 @@ void NamespaceDecl::Destroy(ASTContext& C) { // NamespaceDecl uses "NextDeclarator" to chain namespace declarations // together. They are all top-level Decls. - this->~Decl(); + this->~NamespaceDecl(); C.getAllocator().Deallocate((void *)this); } |

