This patch ensures that -Warc-retain-cycles doesn't warn about captures in blocks that are passed into parameters that have a noescape attribute.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaChecking.cpp | ||
---|---|---|
11661 | Failing to find a capturing expression will overwhelmingly be the controlling condition here, so I would advise switching the order of the checks. Otherwise, this patch looks good. |
Failing to find a capturing expression will overwhelmingly be the controlling condition here, so I would advise switching the order of the checks.
Otherwise, this patch looks good.