ahatanak wrote:

The changes look good.

Just one edge case: should we strip the parentheses too?

`static NSDictionary *const dValueBad = (@{@"a" : @(foo())})`

clang emits the generic `initializer element is not a compile-time constant` 
warning instead of pointing at the culprit `@(foo())`.

https://github.com/llvm/llvm-project/pull/209688
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to