Page MenuHomePhabricator

[flang] Correct TypeCode::IsLogical()

Authored by klausler on Apr 12 2021, 10:17 AM.



F18 is using the type codes for C's "least" int types to encode
the various kinds of Fortran's LOGICAL intrinsic type; update
the IsLogical() predicate accordingly. (This member function
isn't yet used anywhere, so this patch is nearly an NFC.)

Diff Detail

Event Timeline

klausler created this revision.Apr 12 2021, 10:17 AM
klausler requested review of this revision.Apr 12 2021, 10:17 AM
This revision is now accepted and ready to land.Apr 12 2021, 10:52 AM
This revision was landed with ongoing or failed builds.Apr 12 2021, 12:57 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2021, 12:57 PM