llvm-project/clang/lib/ASTMatchers
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
..
Dynamic [OpenMP][NFC] Move and simplify directive -> allowed clause mapping 2020-04-06 00:04:08 -05:00
ASTMatchFinder.cpp Remove clang::ast_type_traits namespace in favor of clang 2020-02-13 10:46:47 -08:00
ASTMatchersInternal.cpp [ASTMatchers] Add hasAnyOverloadedOperatorName matcher 2020-03-10 00:11:27 +00:00
CMakeLists.txt [OpenMP][NFCI] Move OpenMP clause information to `lib/Frontend/OpenMP` 2020-04-05 22:30:29 -05:00
GtestMatchers.cpp Fix MSVC "not all control paths return a value" warning. NFCI. 2020-02-21 18:23:55 +00:00