[PATCH] D92671: Add diagnostic for for-range-declaration being specificed with thread_local
Arthur O'Dwyer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 4 12:57:34 PST 2020
Quuxplusone added inline comments.
================
Comment at: clang/lib/Sema/SemaDecl.cpp:12752
Error = 4;
break;
}
----------------
Incidentally, why is this case here to begin with? Loop variables can totally be `register`. (But I guess it's moot at this point; clearly no Clang user is depending on this to work, and `register` is gone from C++20.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92671/new/
https://reviews.llvm.org/D92671
More information about the cfe-commits
mailing list