diff options
author | Fazlay Rabbi <fazlay.rabbi@intel.com> | 2023-08-09 15:28:09 -0700 |
---|---|---|
committer | Fazlay Rabbi <fazlay.rabbi@intel.com> | 2023-08-24 18:13:52 -0700 |
commit | e4c7298bea88727ed55817c436db1675c867d72b (patch) | |
tree | ea2ee91b212faf70b2ee5fc92fee86661c851e6e /clang/lib/Sema/SemaExceptionSpec.cpp | |
parent | e4cb692526030a05424ee8299012ee76a7a0e3ca (diff) | |
download | llvm-e4c7298bea88727ed55817c436db1675c867d72b.zip llvm-e4c7298bea88727ed55817c436db1675c867d72b.tar.gz llvm-e4c7298bea88727ed55817c436db1675c867d72b.tar.bz2 |
[OpenMP 5.1] Parsing and Sema support for `scope` directive
structured-block
where clause is one of the following:
private(list)
reduction([reduction-modifier ,] reduction-identifier : list)
nowait
Differential Revision: https://reviews.llvm.org/D157933
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExceptionSpec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 9b7ff5f..72304e5 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -1496,6 +1496,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) { case Stmt::OMPTargetTeamsDistributeParallelForSimdDirectiveClass: case Stmt::OMPTargetTeamsDistributeSimdDirectiveClass: case Stmt::OMPTargetUpdateDirectiveClass: + case Stmt::OMPScopeDirectiveClass: case Stmt::OMPTaskDirectiveClass: case Stmt::OMPTaskgroupDirectiveClass: case Stmt::OMPTaskLoopDirectiveClass: |