[cfe-commits] r149977 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ include/clang/Sema/ lib/AST/ lib/Sema/ lib/Serialization/ lib/StaticAnalyzer/Core/ test/CXX/expr/expr.prim/expr.prim.lambda/ tools/libclang/

Douglas Gregor dgregor at apple.com
Wed Feb 8 11:01:08 PST 2012


On Feb 7, 2012, at 6:59 AM, David Blaikie wrote:

> On Tue, Feb 7, 2012 at 2:09 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> 
>> +
>> +  /// \brief Retrieve the iterator pointing one past the last
>> +  /// initialization argument for this lambda expression (which
>> +  /// initializes the first capture field).
> 
> This parenthetical seems out of place (copy-pasted from the 'begin'
> version, presumably) - "which initializes the last capture field"
> would be ambiguous at best (if it refer to the "last initialization
> argument") and probably reads incorrectly (as referring to "one past
> the last initialization argument") so I'm not sure what wording you
> might want there instead.

Nice catch, thanks.

	- Doug




More information about the cfe-commits mailing list