summaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorMike Rice <michael.p.rice@intel.com>2021-10-25 15:03:42 -0700
committerMike Rice <michael.p.rice@intel.com>2021-10-28 07:44:27 -0700
commitb663278e084c9fff51275a670631784d3b9f730f (patch)
treeeafc08b2a17314b00a875eef6ee8ad145a26a0a7 /clang/lib/Sema/SemaExceptionSpec.cpp
parentbf87294cd4fa5781aa2fc0954e117712befedf87 (diff)
downloadllvm-omp-loop.tar.gz
[OpenMP] Initial parsing/sema for the 'omp loop' constructomp-loop
Adds basic parsing/sema/serialization support for the #pragma omp loop directive. Differential Revision: https://reviews.llvm.org/D112499
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 f32bb0d298ba..3af4c6f4bc41 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -1497,6 +1497,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) {
case Stmt::OMPDispatchDirectiveClass:
case Stmt::OMPMaskedDirectiveClass:
case Stmt::OMPMetaDirectiveClass:
+ case Stmt::OMPGenericLoopDirectiveClass:
case Stmt::ReturnStmtClass:
case Stmt::SEHExceptStmtClass:
case Stmt::SEHFinallyStmtClass: