[cfe-commits] r107870 - /cfe/trunk/include/clang/AST/Expr.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Jul 8 06:09:36 PDT 2010


Author: akirtzidis
Date: Thu Jul  8 08:09:35 2010
New Revision: 107870

URL: http://llvm.org/viewvc/llvm-project?rev=107870&view=rev
Log:
Remove unused protected constructor of DeclRefExpr.

Modified:
    cfe/trunk/include/clang/AST/Expr.h

Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=107870&r1=107869&r2=107870&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Thu Jul  8 08:09:35 2010
@@ -562,16 +562,10 @@
               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) {





More information about the cfe-commits mailing list