aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorMike Rice <michael.p.rice@intel.com>2022-03-15 08:35:59 -0700
committerMike Rice <michael.p.rice@intel.com>2022-03-16 14:39:18 -0700
commit79f661edc13d389437b83d42f0af04b0615b920e (patch)
tree3d048996cfe9bb3d58dff7dd676c08feec7de9e9 /clang/lib/Sema/SemaExceptionSpec.cpp
parentf5ddcf25d67f3dbdbb486fbcf48c5247d4f59d6a (diff)
downloadllvm-79f661edc13d389437b83d42f0af04b0615b920e.zip
llvm-79f661edc13d389437b83d42f0af04b0615b920e.tar.gz
llvm-79f661edc13d389437b83d42f0af04b0615b920e.tar.bz2
[OpenMP] Initial parsing/sema for the 'omp teams loop' construct
Adds basic parsing/sema/serialization support for the #pragma omp teams loop directive. Differential Revision: https://reviews.llvm.org/D121713
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 151fbb4..e72495c 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -1499,6 +1499,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) {
case Stmt::OMPMaskedDirectiveClass:
case Stmt::OMPMetaDirectiveClass:
case Stmt::OMPGenericLoopDirectiveClass:
+ case Stmt::OMPTeamsGenericLoopDirectiveClass:
case Stmt::ReturnStmtClass:
case Stmt::SEHExceptStmtClass:
case Stmt::SEHFinallyStmtClass: