[all-commits] [llvm/llvm-project] 4e4587: [Clang] Restrict non fixed enum to a value outside...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Wed Aug 10 11:12:16 PDT 2022
Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
Date: 2022-08-10 (Wed, 10 Aug 2022)
[Clang] Restrict non fixed enum to a value outside the range of the enumeration values warning to context requiring a constant expression
In D131307 we allowed the diagnostic to be turned into a warning for a
This had the side effect of triggering the warning in contexts not required to
be constant expression. This change will restrict the diagnostic to constant
expression contexts. This should reduce the fallout of this diagnostic.
Differential Revision: https://reviews.llvm.org/D131528
More information about the All-commits