llvm-project/clang/lib/Parse
Michael Kruse 4304e9d143 [OpenMP 5.0] Parsing/sema support for map clause with mapper modifier.
This patch implements the parsing and sema support for OpenMP map
clauses with potential user-defined mapper attached. User defined mapper
is a new feature in OpenMP 5.0. A map clause can have an explicit or
implicit associated mapper, which instructs the compiler to generate
extra data mapping. An example is shown below:

    struct S { int len; int *d; };
    #pragma omp declare mapper(id: struct S s) map(s, s.d[0:s.len])
    struct S ss;
    #pragma omp target map(mapper(id) tofrom: ss) // use the mapper with name 'id' to map ss

Contributed-by: Lingda Li <lildmh@gmail.com>

Differential Revision: https://reviews.llvm.org/D58074

llvm-svn: 354347
2019-02-19 16:38:20 +00:00
..
CMakeLists.txt
ParseAST.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ParseCXXInlineMethods.cpp Rename getTypeQualifiers to getMethodQualifiers. 2019-01-28 11:37:49 +00:00
ParseDecl.cpp [OpenCL][PR40707] Allow OpenCL C types in C++ mode. 2019-02-15 12:07:57 +00:00
ParseDeclCXX.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ParseExpr.cpp [CodeComplete] Propagate preferred types through parser in more cases 2019-01-31 20:20:32 +00:00
ParseExprCXX.cpp [OpenCL][PR40707] Allow OpenCL C types in C++ mode. 2019-02-15 12:07:57 +00:00
ParseInit.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ParseObjc.cpp PR40642: Fix determination of whether the final statement of a statement 2019-02-15 00:27:53 +00:00
ParseOpenMP.cpp [OpenMP 5.0] Parsing/sema support for map clause with mapper modifier. 2019-02-19 16:38:20 +00:00
ParsePragma.cpp [OpenCL][PR40603] In C++ preserve compatibility with OpenCL C v2.0 2019-02-07 17:32:37 +00:00
ParseStmt.cpp PR40642: Fix determination of whether the final statement of a statement 2019-02-15 00:27:53 +00:00
ParseStmtAsm.cpp [X86] Change MS inline asm clobber list filter to check for 'fpsr' instead of 'fpsw' after D57641. 2019-02-05 06:13:14 +00:00
ParseTemplate.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ParseTentative.cpp [OpenCL][PR40707] Allow OpenCL C types in C++ mode. 2019-02-15 12:07:57 +00:00
Parser.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00