diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-27 17:00:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-27 17:00:18 +0000 |
commit | 4d68366b2f280242401f5184dc4fc35ca32ae819 (patch) | |
tree | a7f81986501898c9f03eb62d217f98315555ee5e /clang/lib/Basic/SourceManager.cpp | |
parent | ff5d0965b0a89a6ccbe952b64b1e27ab128e6d93 (diff) | |
download | llvm-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