diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-02 01:06:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-02 01:06:57 +0000 |
commit | 7f00f842aaf628c1b02c471a233184024511fedd (patch) | |
tree | 8ec7d7281da9e579f543b51b8d50b37ac91ac6b9 /lib/AST/Expr.cpp | |
parent | 7548beb2fcddcecedc2c7702a139a739eba79b93 (diff) |
I updated this constructor's interface, and didn't have to fix any
callers. Shockingly enough, *there are none*!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index bba35ef532..6499f327b0 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -275,26 +275,6 @@ void DeclRefExpr::computeDependence() { } DeclRefExpr::DeclRefExpr(NestedNameSpecifierLoc QualifierLoc, - ValueDecl *D, SourceLocation NameLoc, - NamedDecl *FoundD, - const TemplateArgumentListInfo *TemplateArgs, - QualType T, ExprValueKind VK) - : Expr(DeclRefExprClass, T, VK, OK_Ordinary, false, false, false), - D(D), Loc(NameLoc) { - DeclRefExprBits.HasQualifier = QualifierLoc ? 1 : 0; - if (QualifierLoc) - getInternalQualifierLoc() = QualifierLoc; - DeclRefExprBits.HasFoundDecl = FoundD ? 1 : 0; - if (FoundD) - getInternalFoundDecl() = FoundD; - DeclRefExprBits.HasExplicitTemplateArgs = TemplateArgs ? 1 : 0; - if (TemplateArgs) - getExplicitTemplateArgs().initializeFrom(*TemplateArgs); - - computeDependence(); -} - -DeclRefExpr::DeclRefExpr(NestedNameSpecifierLoc QualifierLoc, ValueDecl *D, const DeclarationNameInfo &NameInfo, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs, |