summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorsameeran joshi <sameeranjayant.joshi@amd.com>2020-12-21 14:10:27 +0530
committerSameeran joshi <joshisameeran17@gmail.com>2020-12-22 13:17:44 +0530
commitf72c384b5ba943c92fadcbe77f9d7661728905ab (patch)
treeed2843edc61faf6bd215413258b0c4f326fc46d5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent442aac5da68c467563dc6fedf37892ee3d2b688b (diff)
[Flang][openmp][2/5] Make Default 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 `OmpDefaultClause` clause part of `OmpClause`. The unparse function is dropped as the unparsing is done by `WALK_NESTED_ENUM` for `OmpDefaultClause`. Reviewed By: clementval, kiranktp Differential Revision: https://reviews.llvm.org/D93641
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions