Add static cast to unsigned char whenever a character classification function is...
authorGuy Benyei <guy.benyei@intel.com>
Tue, 12 Feb 2013 21:21:59 +0000 (21:21 +0000)
committerGuy Benyei <guy.benyei@intel.com>
Tue, 12 Feb 2013 21:21:59 +0000 (21:21 +0000)
commit87d0b9ed1462705dd9bf1cb7f67d0bf03af776c8
tree54c1b122b1f937a363b1ce4a1e091e795d575785
parent5f3c4a39109479e81238ce28e91e5dcc565f068c
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175006 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
lib/AsmParser/LLLexer.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/CodeGen/TargetInstrInfo.cpp
lib/IR/AsmWriter.cpp
lib/IR/InlineAsm.cpp
lib/IR/LLVMContext.cpp
lib/Linker/LinkModules.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCSectionMachO.cpp
lib/Object/COFFObjectFile.cpp
lib/Object/MachOObjectFile.cpp
lib/Support/FileUtilities.cpp
lib/Support/PathV2.cpp
lib/Support/Windows/Path.inc
lib/Support/raw_ostream.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
tools/llvm-objdump/llvm-objdump.cpp
utils/FileCheck/FileCheck.cpp