[PATCH] D92671: Add diagnostic for for-range-declaration being specificed with thread_local

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 4 10:24:28 PST 2020


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



More information about the cfe-commits mailing list