DebugInfo: ensure negative enumerators are emitted as such
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Jun 2013 07:13:13 +0000 (07:13 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Jun 2013 07:13:13 +0000 (07:13 +0000)
commitce1ae387d658f872c8495bf51b6823b1d6aa1fa9
treea93fadba1849e8a66dd07e61e57c91806ad66472
parent62251374706ce37a554b8bd90f76c88466590077
DebugInfo: ensure negative enumerators are emitted as such

There's still a problem here - since we're not appropriately using the
signedness/range of the enum to chooset the encoding and emission of
enumerators, but GCC has some bugs around this too so I assume that's
not /such/ a high priority though I may get to it soon out of
completeness.

llvm-svn: 184695
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-enum.cpp