1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[OPENMP51]Initial support for nocontext clause.

Added basic parsing/sema/serialization support for the 'nocontext' clause.

Differential Revision: https://reviews.llvm.org/D99848
This commit is contained in:
Jennifer Yu 2021-04-03 11:09:25 -07:00
parent 03c7f6ee36
commit 925535c5ef

View File

@ -282,6 +282,10 @@ def OMPC_Novariants : Clause<"novariants"> {
let clangClass = "OMPNovariantsClause";
let flangClass = "ScalarLogicalExpr";
}
def OMPC_Nocontext : Clause<"nocontext"> {
let clangClass = "OMPNocontextClause";
let flangClass = "ScalarLogicalExpr";
}
def OMPC_Detach : Clause<"detach"> {
let clangClass = "OMPDetachClause";
}
@ -1667,7 +1671,8 @@ def OMP_dispatch : Directive<"dispatch"> {
VersionedClause<OMPC_IsDevicePtr>,
VersionedClause<OMPC_NoWait>,
VersionedClause<OMPC_Depend>,
VersionedClause<OMPC_Novariants>
VersionedClause<OMPC_Novariants>,
VersionedClause<OMPC_Nocontext>
];
}
def OMP_Unknown : Directive<"unknown"> {