summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-18 23:01:59 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-18 23:01:59 +0000
commit3bab3d21f92eca5c1caa83b2b4806d4bcffe5d3d (patch)
tree1f2d6ae968efc4a2a581d03beee00f8bedf4eaf8 /clang/lib/AST/ExprConstant.cpp
parent3f4c68b78efe4c0b540e05d9346c5f415b2c368b (diff)
downloadbcm5719-llvm-3bab3d21f92eca5c1caa83b2b4806d4bcffe5d3d.tar.gz
bcm5719-llvm-3bab3d21f92eca5c1caa83b2b4806d4bcffe5d3d.zip
Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr):
Expr -> CastExpr -> ExplicitCastExpr -> ImplicitCastExpr llvm-svn: 54955
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r--clang/lib/AST/ExprConstant.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 3fae5c90aae..8ba27f01334 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -216,9 +216,6 @@ public:
bool VisitUnaryOperator(const UnaryOperator *E);
bool VisitCastExpr(CastExpr* E) {
- return HandleCast(E->getLParenLoc(), E->getSubExpr(), E->getType());
- }
- bool VisitImplicitCastExpr(ImplicitCastExpr* E) {
return HandleCast(E->getLocStart(), E->getSubExpr(), E->getType());
}
bool VisitSizeOfAlignOfTypeExpr(const SizeOfAlignOfTypeExpr *E) {
OpenPOWER on IntegriCloud