llvm-project/clang/lib
alokmishra.besu 000875c127 OpenMP 5.0 metadirective
This patch supports OpenMP 5.0 metadirective features.
It is implemented keeping the OpenMP 5.1 features like dynamic user condition in mind.

A new function, getBestWhenMatchForContext, is defined in llvm/Frontend/OpenMP/OMPContext.h

Currently this function return the index of the when clause with the highest score from the ones applicable in the Context.
But this function is declared with an array which can be used in OpenMP 5.1 implementation to select all the valid when clauses which can be resolved in runtime. Currently this array is set to null by default and its implementation is left for future.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D91944
2021-09-18 13:40:44 -05:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
AST OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
ASTMatchers Reapply "Support Attr in DynTypedNode and ASTMatchers." 2021-08-06 22:30:32 +02:00
Analysis Thread safety analysis: Warn when demoting locks on back edges 2021-09-18 13:46:55 +02:00
Basic OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
CodeGen OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [clang][darwin] Add support for --emit-static-lib 2021-09-17 12:11:05 -07:00
Edit Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
Format [clang-format] Top-level unwrapped lines don't follow a left brace 2021-09-15 14:52:07 -07:00
Frontend Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
Index [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
IndexSerialization
Interpreter Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-09-03 13:18:09 +00:00
Lex Support Unicode 14 identifiers 2021-09-16 13:21:27 -04:00
Parse OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
Rewrite [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
Sema OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
Serialization OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
StaticAnalyzer OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
Testing
Tooling Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00