Skip to content
Commit db25a52f authored by Jinxin Yang's avatar Jinxin Yang Committed by Jinxin (Brian) Yang
Browse files

[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
parent 9bd23a1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment