[flang] [OpenMP] formalize `DEFAULTMAP` clause
OpenMP 4.5 only accepts `defaultmap(tofrom:scalar)`. The original implementation only parses the entire `tofrom:scalar` string and does nothing else. This commit makes it treat `tofrom` (`ImplicitBehavior`) and `scalar` (`VariableCategory`) separately, which is clear and extendable for OpenMP 5.0 Spec. Original-commit: flang-compiler/f18@12074dcd2cb65bdb97c9d48e4829288eac2dd732
Loading
Please sign in to comment