Add new Stmt class
llvm-svn: 39045
diff --git a/clang/AST/Expr.cpp b/clang/AST/Expr.cpp
index f00301c..7087be8 100644
--- a/clang/AST/Expr.cpp
+++ b/clang/AST/Expr.cpp
@@ -17,21 +17,11 @@
using namespace llvm;
using namespace clang;
-void Expr::dump() const {
- if (this == 0) {
- std::cerr << "<null expr>";
- return;
- }
- std::cerr << "(";
- dump_impl();
- std::cerr << ")";
-}
-
//===----------------------------------------------------------------------===//
// Primary Expressions.
//===----------------------------------------------------------------------===//
-void DeclExpr::dump_impl() const {
+void DeclRefExpr::dump_impl() const {
std::cerr << "x";
}