llvm-project/clang/tools/libclang
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
..
ARCMigrate.cpp
BuildSystem.cpp
CIndex.cpp OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
CIndexCXX.cpp
CIndexCodeCompletion.cpp [CodeComplete] Basic code completion for attribute names. 2021-08-12 23:49:10 +02:00
CIndexDiagnostic.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
CIndexDiagnostic.h
CIndexHigh.cpp
CIndexInclusionStack.cpp SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
CIndexUSRs.cpp
CIndexer.cpp [SystemZ][z/OS] Set more text files as text 2021-04-19 09:31:46 -04:00
CIndexer.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
CLog.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
CMakeLists.txt [clang] Move the soname declaration in a variable at the top of the file 2021-08-27 09:07:12 +02:00
CXComment.cpp [Wdocumentation] Implement \anchor 2019-12-21 14:52:21 +01:00
CXComment.h
CXCompilationDatabase.cpp
CXCursor.cpp OpenMP 5.0 metadirective 2021-09-18 13:40:44 -05:00
CXCursor.h [clang] Reformat cindex. NFC. 2020-03-25 11:11:48 -05:00
CXIndexDataConsumer.cpp Change Module::ASTFile and ModuleFile::File => Optional<FileEntryRef>, NFC 2020-11-02 15:11:51 -05:00
CXIndexDataConsumer.h [NFC] Fix typos in Clangd and Clang 2019-12-16 10:54:40 +01:00
CXLoadedDiagnostic.cpp
CXLoadedDiagnostic.h
CXSourceLocation.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
CXSourceLocation.h [libclang] Fix error handler in translateSourceLocation. 2021-06-18 13:43:14 +01:00
CXStoredDiagnostic.cpp
CXString.cpp
CXString.h
CXTranslationUnit.h
CXType.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
CXType.h
CursorVisitor.h [libclang]: visit BindingDecl in DecompositionDecl 2020-05-02 22:18:31 +02:00
FatalErrorHandler.cpp NFC, add a missing stdlib include for the use of abort 2020-09-29 08:50:51 -07:00
Index_Internal.h
Indexing.cpp Frontend: Remove unused parameter from ASTUnit::LoadFromCompilerInvocationAction, NFC 2020-11-13 17:47:17 -05:00
Rewrite.cpp [libclang] Add CXRewriter to libclang API 2020-09-04 14:17:03 -07:00
libclang.map [clang] Fix libclang linking on Solaris 2021-08-07 21:14:15 +02:00
linker-script-to-export-list.py libclang: Fixes for the python script that generates the export list 2021-07-26 18:39:53 -07:00