[cfe-commits] r150139 - /cfe/trunk/include/clang/AST/ExprCXX.h
Eli Friedman
eli.friedman at gmail.com
Wed Feb 8 18:55:23 PST 2012
Author: efriedma
Date: Wed Feb 8 20:55:22 2012
New Revision: 150139
URL: http://llvm.org/viewvc/llvm-project?rev=150139&view=rev
Log:
Fix a typo in the LambdaExpr class.
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=150139&r1=150138&r2=150139&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprCXX.h (original)
+++ cfe/trunk/include/clang/AST/ExprCXX.h Wed Feb 8 20:55:22 2012
@@ -1222,7 +1222,7 @@
/// \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
More information about the cfe-commits
mailing list