llvm-project/clang/include
Yuanfang Chen 63e0d038fc Diagnose -Wunused-value based on CFG reachability
While at it, add the diagnosis message "left operand of comma operator has no effect" (used by GCC) for comma operator.

This also makes Clang diagnose in the constant evaluation context which aligns with GCC/MSVC behavior. (https://godbolt.org/z/7zxb8Tx96)

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D103938
2021-09-20 10:43:34 -07:00
..
clang Diagnose -Wunused-value based on CFG reachability 2021-09-20 10:43:34 -07:00
clang-c OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
CMakeLists.txt