[all-commits] [llvm/llvm-project] 5e538c: [LLDB] Add multi value test for const static enum
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Aug 10 01:50:26 PDT 2022
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-08-10 (Wed, 10 Aug 2022)
[LLDB] Add multi value test for const static enum
1438639a2f7eb9e9cba01454d3a9b1b16d179c9a removed a test
that was using undefined behaviour setting a non-typed enum
to a value outside its known range.
That test also checked if we formatted the value properly
when it could contain >1 valid enum value.
I don't think there's anything special about how we format
typed vs non-typed enums so I'm adding a test for ScopedEnum
that will expect to see 2 enum values plus extra.
Reviewed By: labath, Michael137, shafik
Differential Revision: https://reviews.llvm.org/D131472
More information about the All-commits