Index: include/clang/AST/Expr.h =================================================================== --- include/clang/AST/Expr.h +++ include/clang/AST/Expr.h @@ -2297,6 +2297,9 @@ return child_range(&SubExprs[0], &SubExprs[0]+NumArgs+getNumPreArgs()+PREARGS_START); } + const_child_range children() const { + return const_child_range(const_cast(this)->children()); + } }; /// Extra data stored in some MemberExpr objects.