diff options
| author | sameeran joshi <sameeranjayant.joshi@amd.com> | 2020-12-21 18:43:44 +0530 |
|---|---|---|
| committer | Sameeran joshi <joshisameeran17@gmail.com> | 2020-12-22 13:40:38 +0530 |
| commit | 34958d11c3457c8e05bbe2b31d5e013c04aecb55 (patch) | |
| tree | d08eb4ec7504a4027561ed6aa35539738c032b6d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | b8c37153d5393aad96feefe0b4689b7b62bc160d (diff) | |
[Flang][openmp][3/5] Make ProcBind clause part of OmpClause
After discussion in `D93482` we found that the some of the clauses were not
following the common OmpClause convention.
The benefits of using OmpClause:
- Functionalities from structure checker are mostly aligned to work with
`llvm::omp::Clause`.
- The unparsing as well can take advantage.
- Homogeneity with OpenACC and rest of the clauses in OpenMP.
- Could even generate the parser with TableGen, when there is homogeneity.
- It becomes confusing when to use `flangClass` and `flangClassValue` inside
TableGen, if incase we generate parser using TableGen we could have only a
single `let expression`.
This patch makes `OmpProcBindClause` clause part of `OmpClause`.
The unparse function is dropped as the unparsing is done by `WALK_NESTED_ENUM`
for `OmpProcBindClause`.
Reviewed By: clementval, kiranktp
Differential Revision: https://reviews.llvm.org/D93642
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
