Description
As discussed in #194856, we need to improve the diagnostic coverage for the __block attribute. Currently, clang/test/Sema/block-misc.c and related tests lack coverage for the following cases:
- Objective-C ivars
- Local static variables
- C++ static data members
I am opening this issue as a tracker/todo list to ensure these cases are properly diagnosed and tested in a follow-up PR.
CC @AaronBallman @ahatanak
Description
As discussed in #194856, we need to improve the diagnostic coverage for the
__blockattribute. Currently,clang/test/Sema/block-misc.cand related tests lack coverage for the following cases:I am opening this issue as a tracker/todo list to ensure these cases are properly diagnosed and tested in a follow-up PR.
CC @AaronBallman @ahatanak