Move expression mangling in the microsoft mangler to its own function.
authorNico Weber <nicolasweber@gmx.de>
Wed, 3 Oct 2012 06:46:47 +0000 (06:46 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 3 Oct 2012 06:46:47 +0000 (06:46 +0000)
commita682681058e3ec1e81db1721f47e5495d0850300
treef85e5916cb26f46e34f3d1c8ee1d300a82f6767f
parent85e7a402325b126f9d8308252a6efdef7e623c83
Move expression mangling in the microsoft mangler to its own function.

This matches what's done in ItaniumMangle and makes it a bit easier
to implement mangling for more expressions. Also use the slightly nicer
"not yet implemented" error message from there.

No functionality change (except for the different error message).

llvm-svn: 165093
clang/lib/AST/MicrosoftMangle.cpp