aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorMike Rice <michael.p.rice@intel.com>2022-03-23 15:37:06 -0700
committerMike Rice <michael.p.rice@intel.com>2022-03-24 09:19:00 -0700
commitf82ec5532b2f303732e547226816d7a668db3050 (patch)
tree108db7779e20e72c36d7f6a0fa5aa0c5326a38a3 /clang/lib/Sema/SemaExceptionSpec.cpp
parent50a97aacacf689f838451439d913421d608e1bed (diff)
downloadllvm-f82ec5532b2f303732e547226816d7a668db3050.zip
llvm-f82ec5532b2f303732e547226816d7a668db3050.tar.gz
llvm-f82ec5532b2f303732e547226816d7a668db3050.tar.bz2
[OpenMP] Initial parsing/sema for the 'omp target parallel loop' construct
Adds basic parsing/sema/serialization support for the #pragma omp target parallel loop directive. Differential Revision: https://reviews.llvm.org/D122359
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 19b2fc7..207bde0 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -1502,6 +1502,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) {
case Stmt::OMPTeamsGenericLoopDirectiveClass:
case Stmt::OMPTargetTeamsGenericLoopDirectiveClass:
case Stmt::OMPParallelGenericLoopDirectiveClass:
+ case Stmt::OMPTargetParallelGenericLoopDirectiveClass:
case Stmt::ReturnStmtClass:
case Stmt::SEHExceptStmtClass:
case Stmt::SEHFinallyStmtClass: