[cfe-commits] r41368 - /cfe/trunk/include/clang/AST/ExprCXX.h
Ted Kremenek
kremenek at apple.com
Fri Aug 24 13:20:39 PDT 2007
Author: kremenek
Date: Fri Aug 24 15:20:38 2007
New Revision: 41368
URL: http://llvm.org/viewvc/llvm-project?rev=41368&view=rev
Log:
Implemented child_begin/child_end for our current set of C++ expressions.
Modified:
cfe/trunk/include/clang/AST/ExprCXX.h
Modified: cfe/trunk/include/clang/AST/ExprCXX.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprCXX.h?rev=41368&r1=41367&r2=41368&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprCXX.h (original)
+++ cfe/trunk/include/clang/AST/ExprCXX.h Fri Aug 24 15:20:38 2007
@@ -66,6 +66,10 @@
return T->getStmtClass() == CXXCastExprClass;
}
static bool classof(const CXXCastExpr *) { return true; }
+
+ // Iterators
+ virtual child_iterator child_begin();
+ virtual child_iterator child_end();
};
/// CXXBoolLiteralExpr - [C++ 2.13.5] C++ Boolean Literal.
@@ -85,6 +89,10 @@
return T->getStmtClass() == CXXBoolLiteralExprClass;
}
static bool classof(const CXXBoolLiteralExpr *) { return true; }
+
+ // Iterators
+ virtual child_iterator child_begin();
+ virtual child_iterator child_end();
};
} // end namespace clang
More information about the cfe-commits
mailing list