aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-27 17:00:18 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-27 17:00:18 +0000
commit4d68366b2f280242401f5184dc4fc35ca32ae819 (patch)
treea7f81986501898c9f03eb62d217f98315555ee5e /clang/lib/Basic/SourceManager.cpp
parentff5d0965b0a89a6ccbe952b64b1e27ab128e6d93 (diff)
downloadllvm-4d68366b2f280242401f5184dc4fc35ca32ae819.zip
llvm-4d68366b2f280242401f5184dc4fc35ca32ae819.tar.gz
llvm-4d68366b2f280242401f5184dc4fc35ca32ae819.tar.bz2
When parsing a character literal, extract the characters from the
buffer as an 'unsigned char', so that integer promotion doesn't sign-extend character values > 127 into oblivion. Fixes <rdar://problem/10188919>. llvm-svn: 140608
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions