diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-11-13 22:09:44 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-11-13 22:09:44 +0000 |
commit | 0a26d7680d064653cb42e89e70c62402283003fd (patch) | |
tree | a3317ac0975d6643422835758e71ec63547ed99d /test/SemaObjCXX | |
parent | 97c81bfaf0b6c90576081c5af7ea22fab6f2b7f9 (diff) |
[ms] Make mangleIntegerLiteral less aware of exact type of the literal.
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.
Patch from Evgeny Eltsin!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjCXX')
0 files changed, 0 insertions, 0 deletions