ojhunt wrote:
Was this PR expected to change behaviour? after it
```objective-c
static inline void cleanup_test(void (^*f)(void)) { (*f)(); }
void f() {
__attribute__((unused)) __attribute__((cleanup(cleanup_test))) void
(^thing)(void) = \
^() {};
}
```
Now fails with `-x objective-c -fobjc-arc`, is that an intended change in
behavior? From the title and description it sounds like this should only impact
the behavior in dependent contexts, but the above is clearly not - this is not
"the behavior is wrong" (I haven't checked the expected semantics yet :D) but
whether the _change_ in behavior is expected
https://github.com/llvm/llvm-project/pull/164440
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits