mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +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:
parent
03c7f6ee36
commit
925535c5ef
@ -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"> {
|
||||
|
Loading…
Reference in New Issue
Block a user