]> granicus.if.org Git - clang/commitdiff
Remove unused protected constructor of DeclRefExpr.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 8 Jul 2010 13:09:35 +0000 (13:09 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 8 Jul 2010 13:09:35 +0000 (13:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107870 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 7161c76953bd5e77da98f4dad3bb57693780224d..b04e74ac28c471736403e7589cb6ae4c90268645 100644 (file)
@@ -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) {