HomePhabricator

[flang] Correct TypeCode::IsLogical()

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

Description

[flang] Correct TypeCode::IsLogical()

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.)

Differential Revision: https://reviews.llvm.org/D100323

Details

Committed
klauslerApr 12 2021, 12:57 PM
Differential Revision
D100323: [flang] Correct TypeCode::IsLogical()
Parents
rG52e9d80d5db2: [libc++] add `inline` for __open's definition in ifstream and ofstream
Branches
Unknown
Tags
Unknown