diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-03-31 17:09:09 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-03-31 17:09:09 +0000 |
| commit | 787bd4b3ec032bb77ef4e63cdde3811422ba77ef (patch) | |
| tree | cd453ad5cac61d56cb249003c2266698d523220b /lib/AST/MicrosoftMangle.cpp | |
| parent | 519e3f9a52711be65190f7fa0eca67f15fbfe2ec (diff) | |
| download | clang-787bd4b3ec032bb77ef4e63cdde3811422ba77ef.tar.gz clang-787bd4b3ec032bb77ef4e63cdde3811422ba77ef.tar.bz2 clang-787bd4b3ec032bb77ef4e63cdde3811422ba77ef.tar.xz | |
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
Diffstat (limited to 'lib/AST/MicrosoftMangle.cpp')
| -rw-r--r-- | lib/AST/MicrosoftMangle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<char>('A' + (Byte - '\xc1')); } else { switch (Byte) { |
