[cfe-commits] r130677 - in /cfe/trunk: include/clang/AST/Expr.h lib/AST/Expr.cpp
Chandler Carruth
chandlerc at gmail.com
Sun May 1 18:06:57 PDT 2011
Author: chandlerc
Date: Sun May 1 20:06:57 2011
New Revision: 130677
URL: http://llvm.org/viewvc/llvm-project?rev=130677&view=rev
Log:
I updated this constructor's interface, and didn't have to fix any
callers. Shockingly enough, *there are none*!
Modified:
cfe/trunk/include/clang/AST/Expr.h
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=130677&r1=130676&r2=130677&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Sun May 1 20:06:57 2011
@@ -724,12 +724,6 @@
}
DeclRefExpr(NestedNameSpecifierLoc QualifierLoc,
- ValueDecl *D, SourceLocation NameLoc,
- NamedDecl *FoundD,
- const TemplateArgumentListInfo *TemplateArgs,
- QualType T, ExprValueKind VK);
-
- DeclRefExpr(NestedNameSpecifierLoc QualifierLoc,
ValueDecl *D, const DeclarationNameInfo &NameInfo,
NamedDecl *FoundD,
const TemplateArgumentListInfo *TemplateArgs,
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=130677&r1=130676&r2=130677&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Sun May 1 20:06:57 2011
@@ -275,26 +275,6 @@
}
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,
More information about the cfe-commits
mailing list