ensure value passed to is space is representable as unsigned char
authorSeth Cantrell <seth.cantrell@gmail.com>
Fri, 25 May 2012 00:03:29 +0000 (00:03 +0000)
committerSeth Cantrell <seth.cantrell@gmail.com>
Fri, 25 May 2012 00:03:29 +0000 (00:03 +0000)
commit14340ca17397003dee8180caac9173e7102d586f
treef2ba6760f3447bce14c60bf1fe43baf330174ea9
parent3d31e8b280992268eeaab7dac19029ebf3cde1fa
ensure value passed to is space is representable as unsigned char

if the value isn't an unsigned char or EOF behavior is undefined
(and on Windows there's an assertion)

llvm-svn: 157445
clang/lib/Frontend/TextDiagnostic.cpp