[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)
commit7d37f05a4447c83f29876a6e3515250cafe13c0e
treeb9021c9ac94c52a84787ff5177ca751fcd7e1e08
parenta2d228b57002137aaf556d1ee319d2255a9b5c76
[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!

llvm-svn: 167599
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCXX/mangle-ms-templates.cpp