(specifying an underlying type for the enum might also be suitable - but
this seems better/as good, since there's a clear expectation this can
contain values other than the actual enumerators of this enum)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374196
91177308-0d34-0410-b5e6-
96231b3b80d8
DataExtractor::Cursor C(*Offset);
// dwarf::DW_LLE_end_of_list_entry is 0 and indicates the end of the list.
- while (auto Kind = static_cast<dwarf::LoclistEntries>(Data.getU8(C))) {
+ while (auto Kind = Data.getU8(C)) {
Entry E;
E.Kind = Kind;
switch (Kind) {