diff options
author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-08-11 13:42:40 -0700 |
---|---|---|
committer | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-08-11 13:44:26 -0700 |
commit | 2608f553b8fd02bfd5a81d9e45406cee0c2dfe26 (patch) | |
tree | 02e1982f12feaa1cddf05f752acbf5f1ad074d12 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | 56f36f85e029d6947d07d7d174801104785149a7 (diff) | |
download | llvm-2608f553b8fd02bfd5a81d9e45406cee0c2dfe26.zip llvm-2608f553b8fd02bfd5a81d9e45406cee0c2dfe26.tar.gz llvm-2608f553b8fd02bfd5a81d9e45406cee0c2dfe26.tar.bz2 |
[Clang] Tighten restrictions on enum out of range diagnostic
In D131528 using Info.EvalMode == EvalInfo::EM_ConstantExpression is not strict
enough to restrict the diagnostic to only constant expression contexts. It is
sometimes set in cases where we are still determining if we are in a constant
expression context.
Using InConstantContext will tighten the restriction.
Differential Revision: https://reviews.llvm.org/D131704
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions