HomePhabricator

Fix sign extension handling in DumpEnumValue

Authored by friss on Oct 8 2019, 10:59 AM.

Description

Fix sign extension handling in DumpEnumValue

When an enumerator has an unsigned type and its high bit set, the
code introduced in r374067 would fail to match it due to a sign
extension snafu. This commit fixes this aspec of the code and should
fix the bots.

I think it's not a complete fix though, I'll add more test coverage
and additional tweaks in a follow-up commit.

llvm-svn: 374095

Details

Committed
frissOct 8 2019, 10:59 AM
Parents
rG085328eeeeba: exception handling in PythonDataObjects.
Branches
Unknown
Tags
Unknown