aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/DeclBase.h2
-rw-r--r--lib/AST/DeclBase.cpp3
2 files changed, 0 insertions, 5 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h
index c67391653a..6670d9de12 100644
--- a/include/clang/AST/DeclBase.h
+++ b/include/clang/AST/DeclBase.h
@@ -270,8 +270,6 @@ protected:
if (Decl::CollectingStats()) add(DK);
}
- virtual ~Decl();
-
public:
/// \brief Source range that this declaration covers.
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp
index 437089a415..be4d82a054 100644
--- a/lib/AST/DeclBase.cpp
+++ b/lib/AST/DeclBase.cpp
@@ -288,9 +288,6 @@ void PrettyStackTraceDecl::print(llvm::raw_ostream &OS) const {
// Decl Implementation
//===----------------------------------------------------------------------===//
-// Out-of-line virtual method providing a home for Decl.
-Decl::~Decl() { }
-
bool Decl::isOutOfLine() const {
if (const VarDecl *VD = dyn_cast<VarDecl>(this))
return VD->isOutOfLine();