This is an archive of the discontinued LLVM Phabricator instance.

Fix sign of wide character literals in preprocessor conditions
ClosedPublic

Authored by rcraik on Feb 11 2015, 7:04 AM.

Details

Reviewers
hfinkel
rsmith
Summary

Set the correct sign of wide character literals based on the underlying type of wchar_t

Fix for PR 19649

Diff Detail

Event Timeline

rcraik updated this revision to Diff 19751.Feb 11 2015, 7:04 AM
rcraik retitled this revision from to Fix sign of wide character literals in preprocessor conditions.
rcraik updated this object.
rcraik edited the test plan for this revision. (Show Details)
rcraik added reviewers: rsmith, hfinkel.
rcraik added subscribers: Unknown Object (MLST), fraggamuffin.

We have reviewed this internally in IBM and it looks fine. We like to have someone externally review it as well. Thanks.

hfinkel accepted this revision.Feb 17 2015, 7:34 PM
hfinkel edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Feb 17 2015, 7:34 PM
rsmith accepted this revision.Feb 18 2015, 7:38 PM
rsmith edited edge metadata.

Thanks, I will commit this on behalf of Rachel.

Commit
D:\llvmtrunk\tools\clang\lib\Lex\PPExpressions.cpp
D:\llvmtrunk\tools\clang\test\Preprocessor\pr19649-signed-wchar_t.c
D:\llvmtrunk\tools\clang\test\Preprocessor\pr19649-unsigned-wchar_t.c
At revision: 230333

rcraik closed this revision.Feb 24 2015, 6:28 AM