aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorFazlay Rabbi <fazlay.rabbi@intel.com>2023-08-09 15:28:09 -0700
committerFazlay Rabbi <fazlay.rabbi@intel.com>2023-08-24 18:13:52 -0700
commite4c7298bea88727ed55817c436db1675c867d72b (patch)
treeea2ee91b212faf70b2ee5fc92fee86661c851e6e /clang/lib/Sema/SemaExceptionSpec.cpp
parente4cb692526030a05424ee8299012ee76a7a0e3ca (diff)
downloadllvm-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.cpp1
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: