From cdd1c2ec981a13cf9cfde7f5bc1f7c05af222bbf Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 9 Feb 2012 02:55:22 +0000 Subject: [PATCH] Fix a typo in the LambdaExpr class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150139 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ExprCXX.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/AST/ExprCXX.h b/include/clang/AST/ExprCXX.h index b9ba3c3755..395dcda72f 100644 --- a/include/clang/AST/ExprCXX.h +++ b/include/clang/AST/ExprCXX.h @@ -1222,7 +1222,7 @@ public: /// \brief Retrieve the first initialization argument for this /// lambda expression (which initializes the first capture field). capture_init_iterator capture_init_begin() const { - return reinterpret_cast(getStoredStmts() + 1); + return reinterpret_cast(getStoredStmts()); } /// \brief Retrieve the iterator pointing one past the last -- 2.50.1