aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorWalter J.T.V <81811777+eZWALT@users.noreply.github.com>2025-09-29 07:48:18 +0200
committerGitHub <noreply@github.com>2025-09-29 07:48:18 +0200
commitcd4c5280c73d42fd41819cc8927d00787ade88e0 (patch)
tree2c20b67693c62f08a847b3620e79f77c5d588773 /clang/lib/Sema/SemaExceptionSpec.cpp
parent98563d850d542411d95f5f01871762952981ba81 (diff)
downloadllvm-cd4c5280c73d42fd41819cc8927d00787ade88e0.zip
llvm-cd4c5280c73d42fd41819cc8927d00787ade88e0.tar.gz
llvm-cd4c5280c73d42fd41819cc8927d00787ade88e0.tar.bz2
[Clang][OpenMP][LoopTransformations] Implement "#pragma omp fuse" loop transformation directive and "looprange" clause (#139293)
This change implements the fuse directive, `#pragma omp fuse`, as specified in the OpenMP 6.0, along with the `looprange` clause in clang. This change also adds minimal stubs so flang keeps compiling (a full implementation in flang of this directive is still pending). --------- Co-authored-by: Roger Ferrer Ibanez <roger.ferrer@bsc.es>
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 552c929..a0483c3 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/lib/Sema/SemaExceptionSpec.cpp
@@ -1493,6 +1493,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) {
case Stmt::OMPUnrollDirectiveClass:
case Stmt::OMPReverseDirectiveClass:
case Stmt::OMPInterchangeDirectiveClass:
+ case Stmt::OMPFuseDirectiveClass:
case Stmt::OMPSingleDirectiveClass:
case Stmt::OMPTargetDataDirectiveClass:
case Stmt::OMPTargetDirectiveClass: