From 787bd4b3ec032bb77ef4e63cdde3811422ba77ef Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 31 Mar 2014 17:09:09 +0000 Subject: [PATCH] MS ABI: Document the '\xc1' to '\xda' manglings No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205223 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/MicrosoftMangle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index 0518f0544e..7095d2e197 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -2419,6 +2419,7 @@ void MicrosoftMangleContextImpl::mangleStringLiteral(const StringLiteral *SL, 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('A' + (Byte - '\xc1')); } else { switch (Byte) { -- 2.40.0