llvm.org GIT mirror llvm / 1e3493b
Fix test breakage introduced in r209223. Oops, broke the broken enum constants again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209226 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 6 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
758758 return true;
759759 assert(T == dwarf::DW_TAG_typedef || T == dwarf::DW_TAG_const_type ||
760760 T == dwarf::DW_TAG_volatile_type ||
761 T == dwarf::DW_TAG_restrict_type);
761 T == dwarf::DW_TAG_restrict_type ||
762 T == dwarf::DW_TAG_enumeration_type);
762763 if (DITypeRef Deriv = DTy.getTypeDerivedFrom())
763764 return isUnsignedDIType(DD, DD->resolve(Deriv));
764765 // FIXME: Enums without a fixed underlying type have unknown signedness