- Use default ref capture for non-escaping lambdas (this makes maintenance easier by allowing new uses, removing uses, having conditional uses (such as in assertions) not require updates to an explicit capture list)
- Simplify addPrivate API not to take a lambda, since it calls it unconditionally/immediately anyway - most callers are simply passing in a named value or short expression anyway and the lambda syntax just adds noise/overhead
Details
Details
- Reviewers
ABataev jdoerfert - Commits
- rGc0a6433f2b51: Simplify OpenMP Lambda use
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo