This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] change isblank and iscntrl from implicit casting
ClosedPublic

Authored by michaelrj on Jan 13 2021, 2:04 PM.

Details

Summary

isblank and iscntrl were casting an int to a char implicitly and this
was throwing errors under Fuchsia. I've added a static cast to resolve
this issue.

Diff Detail

Event Timeline

michaelrj created this revision.Jan 13 2021, 2:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2021, 2:04 PM
michaelrj requested review of this revision.Jan 13 2021, 2:04 PM
sivachandra accepted this revision.Jan 13 2021, 2:06 PM
This revision is now accepted and ready to land.Jan 13 2021, 2:06 PM
This revision was landed with ongoing or failed builds.Jan 13 2021, 2:07 PM
This revision was automatically updated to reflect the committed changes.