]> granicus.if.org Git - clang/commit
[Windows] Fix mangling of number literal '0'
authorNico Weber <nicolasweber@gmx.de>
Thu, 8 Nov 2012 23:38:59 +0000 (23:38 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 8 Nov 2012 23:38:59 +0000 (23:38 +0000)
commite95b46bf50059806d58f494f6ad3a827dce02e24
tree802e819ed5134d96b885ec8ebbbe347a74c15283
parent458871a13c9f07bb46b4a32e3add0c9cb730f26e
[Windows] Fix mangling of number literal '0'

Do this by making the mangleNumber(APSInt) overload look like
the int64_t version. (The latter should probably just delegate
to the former).

Test from Evgeny Eltsin!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167599 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/mangle-ms-templates.cpp