shafik added a comment. The problem with this approach is given:
for (static thread_local int a : A()) {} it just issues one diagnostic and it points to `static` but I am not sure what the right approach to handling this case is. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92671/new/ https://reviews.llvm.org/D92671 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits