[cfe-commits] r55237 - /cfe/trunk/include/clang/AST/Expr.h

Argiris Kirtzidis akyrtzi at gmail.com
Sat Aug 23 08:36:02 PDT 2008


Author: akirtzidis
Date: Sat Aug 23 10:36:01 2008
New Revision: 55237

URL: http://llvm.org/viewvc/llvm-project?rev=55237&view=rev
Log:
CXXFunctionalCastExpr is a subclass of CastExpr. Make it known to isa/dyn_cast/cast.

Modified:
    cfe/trunk/include/clang/AST/Expr.h

Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=55237&r1=55236&r2=55237&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Sat Aug 23 10:36:01 2008
@@ -857,6 +857,7 @@
     switch (T->getStmtClass()) {
     case ImplicitCastExprClass:
     case ExplicitCastExprClass:
+    case CXXFunctionalCastExprClass:
       return true;
     default:
       return false;





More information about the cfe-commits mailing list