llvm-project/clang/include
Michael Kruse d466ca087a [Clang][OpenMP] Add static version of getSingleClause<ClauseT>. NFC.
The current method getSingleClause requires an instance of OMPExecutableDirective to be called. Introduce a static version taking a list of clauses as argument instead that can be used during parsing/Sema before any OMPExecutableDirective has been created.

This is the same approach as taken for getClausesOfKind for getting more more than a single clause of a type which also has a method and static version. NFC patch extracted out of D99459 by request.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D103665
2021-06-06 09:17:42 -05:00
..
clang [Clang][OpenMP] Add static version of getSingleClause<ClauseT>. NFC. 2021-06-06 09:17:42 -05:00
clang-c [OpenMP51] Initial support for masked directive and filter clause 2021-04-09 14:00:36 -05:00
CMakeLists.txt