r205223 - MS ABI: Document the '\xc1' to '\xda' manglings
David Majnemer
david.majnemer at gmail.com
Mon Mar 31 10:09:09 PDT 2014
Author: majnemer
Date: Mon Mar 31 12:09:09 2014
New Revision: 205223
URL: http://llvm.org/viewvc/llvm-project?rev=205223&view=rev
Log:
MS ABI: Document the '\xc1' to '\xda' manglings
No functionality change.
Modified:
cfe/trunk/lib/AST/MicrosoftMangle.cpp
Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?rev=205223&r1=205222&r2=205223&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Mon Mar 31 12:09:09 2014
@@ -2419,6 +2419,7 @@ void MicrosoftMangleContextImpl::mangleS
Mangler.getStream() << Byte;
} else if ((Byte >= '\xe1' && Byte <= '\xfa') ||
(Byte >= '\xc1' && Byte <= '\xda')) {
+ // The delta between '\xe1' and '\xc1' is the same as 'a' to 'A'.
Mangler.getStream() << '?' << static_cast<char>('A' + (Byte - '\xc1'));
} else {
switch (Byte) {
More information about the cfe-commits
mailing list