This is an archive of the discontinued LLVM Phabricator instance.

[libTooling] Fix use of `char` in comparison.
ClosedPublic

Authored by ymandel on Sep 9 2020, 12:14 PM.

Details

Summary

Fixes Transformer's Range parser to handle char in a platform-independent way.

Diff Detail

Event Timeline

ymandel created this revision.Sep 9 2020, 12:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2020, 12:14 PM
ymandel requested review of this revision.Sep 9 2020, 12:14 PM
gribozavr2 accepted this revision.Sep 10 2020, 2:24 PM
This revision is now accepted and ready to land.Sep 10 2020, 2:24 PM
This revision was automatically updated to reflect the committed changes.

I can confirm that this commit fixes the Wtype-limits warning when built on Raspbian armhf.