[cfe-commits] [PATCH][ms] Make mangleIntegerLiteral less aware of exact type of the literal
Evgeny Eltsin
eaeltsin at google.com
Mon Nov 12 07:05:32 PST 2012
Hi,
This tiny patch replaces MicrosoftCXXNameMangler::mangleIntegerLiteral
QualType parameter with IsBoolean flag, as integer literal mangling does
not actually depend on exact type of the literal. This will simplify
calling mangleIntegerLiteral when literal type is not known, for example,
when sizes or offsets are mangled as integer literals.
Also, call mangleNumber instead of directly printing mangled values of 0/1,
to avoid this knowledge from being in multiple places.
wbr,
Evgeny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121112/03fbeb0f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mangle_int.diff
Type: application/octet-stream
Size: 2089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121112/03fbeb0f/attachment.obj>
More information about the cfe-commits
mailing list