[all-commits] [llvm/llvm-project] 633387: Add diagnostic for for-range-declaration being spe...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Fri Dec 4 15:06:55 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6333871f85403d07abc62fdb6182f288ff60ccd8
https://github.com/llvm/llvm-project/commit/6333871f85403d07abc62fdb6182f288ff60ccd8
Author: shafik <syaghmour at apple.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
Log Message:
-----------
Add diagnostic for for-range-declaration being specificed with thread_local
Currently we have a diagnostic that catches the other storage class specifies for the range based for loop declaration but we miss the thread_local case. This changes adds a diagnostic for that case as well.
Differential Revision: https://reviews.llvm.org/D92671
More information about the All-commits
mailing list