[cfe-commits] [PATCH][ms] Make mangleIntegerLiteral less aware of exact type of the literal

Nico Weber thakis at chromium.org
Tue Nov 13 14:10:19 PST 2012


This looks harmless enough. Landed in r167878.

On Mon, Nov 12, 2012 at 7:05 AM, Evgeny Eltsin <eaeltsin at google.com> wrote:
> 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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list