commit | 09dab827b2923fd201070fc87df435fabc3abcf7 | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Mon Jul 16 16:18:18 2012 +0000 |
committer | Aaron Ballman <aaron@aaronballman.com> | Mon Jul 16 16:18:18 2012 +0000 |
tree | 617cb3b3f1555c78b8347b9fcb3fca0343366d5b | |
parent | c0ed3e548c6f688e22685de04e210c7b59ac3433 [diff] |
MSVC's implementation of isalnum will assert on characters > 255, so we need to use an unsigned char to ensure the integer promotion happens properly. This fixes an assert in debug builds with CodeGen\X86\utf8.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160286 91177308-0d34-0410-b5e6-96231b3b80d8