llvm-project/llvm/lib/Frontend/OpenMP
Johannes Doerfert 931c0cd713 [OpenMP][NFC] Move and simplify directive -> allowed clause mapping
Move the listing of allowed clauses per OpenMP directive to the new
macro file in `llvm/Frontend/OpenMP`. Also, use a single generic macro
that specifies the directive and one allowed clause explicitly instead
of a dedicated macro per directive.

We save 800 loc and boilerplate for all new directives/clauses with no
functional change. We also need to include the macro file only once and
not once per directive.

Depends on D77112.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D77113
2020-04-06 00:04:08 -05:00
..
CMakeLists.txt [OpenMP][Part 1] Reusable OpenMP context/traits handling 2020-02-02 23:18:25 -06:00
LLVMBuild.txt
OMPConstants.cpp [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
OMPContext.cpp [OpenMP] set_bits iterator yields unsigned elements, no reference (NFC). 2020-03-29 17:08:13 +01:00
OMPIRBuilder.cpp [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder. 2020-02-15 01:15:45 -06:00