"&" seemed to be used in a situation where perhaps it's not the best option.
Other libc++ modules make use of [this] when calling functions from the same class.
[this] would be the appropriate lambda capture specifier to use in this situation.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG0529025648b5: [libc++] Use this in lamba capture in <latch>
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hello, thanks for accepting. This would be my first contribution. Do I need to do anything else or will the bot merge this automatically. Thanks.
Comment Actions
Can you provide your name and email address, then we will land the patch on your behalf.