From: Argyrios Kyrtzidis Date: Thu, 8 Jul 2010 13:09:35 +0000 (+0000) Subject: Remove unused protected constructor of DeclRefExpr. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9705752be3a52d72e9ad1c7c8d8e59082e40a4f1;p=clang Remove unused protected constructor of DeclRefExpr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107870 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 7161c76953..b04e74ac28 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -562,16 +562,10 @@ class DeclRefExpr : public Expr { const TemplateArgumentListInfo *TemplateArgs, QualType T); -protected: /// \brief Computes the type- and value-dependence flags for this /// declaration reference expression. void computeDependence(); - DeclRefExpr(StmtClass SC, ValueDecl *d, QualType t, SourceLocation l) : - Expr(SC, t, false, false), DecoratedD(d, 0), Loc(l) { - computeDependence(); - } - public: DeclRefExpr(ValueDecl *d, QualType t, SourceLocation l) : Expr(DeclRefExprClass, t, false, false), DecoratedD(d, 0), Loc(l) {