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

[flang] [OpenMP] Simplify `OmpObject` with `std::variant`

Instead of using an `ENUM_CLASS Kind` to distinguish a `Designator`
or common-block name, change it to `std::variant`. If the `Name`
is available, then it is common-block name.

Original-commit: flang-compiler/f18@abf5db6171bc57eeddb58d22cd09e2344b023cad
parent ac761ca2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment