aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorZahira Ammarguellat <zahira.ammarguellat@intel.com>2025-02-13 07:14:36 -0500
committerGitHub <noreply@github.com>2025-02-13 07:14:36 -0500
commitcf69b4c66898cab9eb0f745f034eaf5b3ffcee0d (patch)
treebd9a67294c160e70ffbd04ffd93e5acb35e895ec /clang/lib/Sema/SemaExceptionSpec.cpp
parent1935f84856a9297e725770e6f4b9c50fbcec365c (diff)
downloadllvm-cf69b4c66898cab9eb0f745f034eaf5b3ffcee0d.zip
llvm-cf69b4c66898cab9eb0f745f034eaf5b3ffcee0d.tar.gz
llvm-cf69b4c66898cab9eb0f745f034eaf5b3ffcee0d.tar.bz2
[Clang] [OpenMP] Add support for '#pragma omp stripe'. (#126927)
This patch was reviewed and approved here: https://github.com/llvm/llvm-project/pull/119891 However it has been reverted here: https://github.com/alejandro-alvarez-sonarsource/llvm-project/commit/083df25dc256154cccbc0e127d79fbac4d0583c5 due to a build issue here: https://lab.llvm.org/buildbot/#/builders/51/builds/10694 This patch is reintroducing the support.
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 77a1bbc..8c8ba1d 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -1488,6 +1488,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) {
case Stmt::OMPSectionsDirectiveClass:
case Stmt::OMPSimdDirectiveClass:
case Stmt::OMPTileDirectiveClass:
+ case Stmt::OMPStripeDirectiveClass:
case Stmt::OMPUnrollDirectiveClass:
case Stmt::OMPReverseDirectiveClass:
case Stmt::OMPInterchangeDirectiveClass: