From 49e5b123d777daaad5e2439dee66966559246597 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. llvm-svn: 205223 --- clang/lib/AST/MicrosoftMangle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp index 0518f0544ea2..7095d2e19780 100644 --- a/clang/lib/AST/MicrosoftMangle.cpp +++ b/clang/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.34.1