HomePhabricator

[MC] Use unsigned for the Kind bitfield in MCSymbol

Authored by rnk on Jun 8 2015, 3:12 PM.

Description

[MC] Use unsigned for the Kind bitfield in MCSymbol

Fixes most of the test suite on Windows with clang-cl.

I'm not sure why the test suite was passing with MSVC 2013. Maybe they
changed their behavior and we are emulating their old sign extension
behavior. I think this deserves more investigation, but I want to green
the bot first.

llvm-svn: 239357

Details

Committed
rnkJun 8 2015, 3:12 PM
Parents
rG13234ae40db3: Consider unsigned long for non-u/U decimal literals (C90/C++03)
Branches
Unknown
Tags
Unknown