aboutsummaryrefslogtreecommitdiff
path: root/flang
diff options
context:
space:
mode:
authorJennifer Yu <jennifer.yu@intel.com>2021-04-03 11:09:25 -0700
committerJennifer Yu <jennifer.yu@intel.com>2021-04-05 11:45:49 -0700
commit7078ef47225091a9a42357b9ebf92e83a5665d43 (patch)
treefb1a117e517d19e7a12ca64da76c5afdffd815d5 /flang
parent[mlir][Linalg] NFC: Move populatePatterns* method into linalg namespace. (diff)
downloadllvm-project-7078ef47225091a9a42357b9ebf92e83a5665d43.tar.gz
llvm-project-7078ef47225091a9a42357b9ebf92e83a5665d43.tar.bz2
llvm-project-7078ef47225091a9a42357b9ebf92e83a5665d43.zip
[OPENMP51]Initial support for nocontext clause.
Added basic parsing/sema/serialization support for the 'nocontext' clause. Differential Revision: https://reviews.llvm.org/D99848
Diffstat (limited to 'flang')
-rw-r--r--flang/lib/Semantics/check-omp-structure.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/flang/lib/Semantics/check-omp-structure.cpp b/flang/lib/Semantics/check-omp-structure.cpp
index dfd44b768c4a..892ce2ff4487 100644
--- a/flang/lib/Semantics/check-omp-structure.cpp
+++ b/flang/lib/Semantics/check-omp-structure.cpp
@@ -730,6 +730,7 @@ CHECK_SIMPLE_CLAUSE(Write, OMPC_write)
CHECK_SIMPLE_CLAUSE(Init, OMPC_init)
CHECK_SIMPLE_CLAUSE(Use, OMPC_use)
CHECK_SIMPLE_CLAUSE(Novariants, OMPC_novariants)
+CHECK_SIMPLE_CLAUSE(Nocontext, OMPC_nocontext)
CHECK_REQ_SCALAR_INT_CLAUSE(Allocator, OMPC_allocator)
CHECK_REQ_SCALAR_INT_CLAUSE(Grainsize, OMPC_grainsize)