diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-18 23:01:59 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-18 23:01:59 +0000 |
commit | 3bab3d21f92eca5c1caa83b2b4806d4bcffe5d3d (patch) | |
tree | 1f2d6ae968efc4a2a581d03beee00f8bedf4eaf8 /clang/lib/AST/ExprConstant.cpp | |
parent | 3f4c68b78efe4c0b540e05d9346c5f415b2c368b (diff) | |
download | bcm5719-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.cpp | 3 |
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) { |