aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-23 15:36:01 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-08-23 15:36:01 +0000
commitcb6accb4659af86627ce43f7a90bc92f763b075e (patch)
tree570c79d2d144d69fd815939f2ea44def62f0e72e
parent2174a4ff834b72c0a0e3f24e4b62123f30f4cce6 (diff)
CXXFunctionalCastExpr is a subclass of CastExpr. Make it known to isa/dyn_cast/cast.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55237 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index ee24b6cd6c..00de0233b4 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -857,6 +857,7 @@ public:
switch (T->getStmtClass()) {
case ImplicitCastExprClass:
case ExplicitCastExprClass:
+ case CXXFunctionalCastExprClass:
return true;
default:
return false;