diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-02-09 02:55:22 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-02-09 02:55:22 +0000 |
commit | cdd1c2ec981a13cf9cfde7f5bc1f7c05af222bbf (patch) | |
tree | f32a3353c5f6236ae23bb18d4dd6ee1f29554c81 | |
parent | 18fe084d72392a5ceaa1fab7d3f3f0d0f2538069 (diff) |
Fix a typo in the LambdaExpr class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150139 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/ExprCXX.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Expr **>(getStoredStmts() + 1); + return reinterpret_cast<Expr **>(getStoredStmts()); } /// \brief Retrieve the iterator pointing one past the last |