diff options
author | Jennifer Yu <jennifer.yu@intel.com> | 2022-11-01 14:46:12 -0700 |
---|---|---|
committer | Jennifer Yu <jennifer.yu@intel.com> | 2022-11-02 14:25:28 -0700 |
commit | ea64e66f7b71dfd52e9701a080b8216052344962 (patch) | |
tree | 25e983565ac26fd4ce29bd58dc4e11ff7fc42a7f /clang/lib/Sema/SemaExceptionSpec.cpp | |
parent | a588cfe37ea36ec4fae35a233a13d3557fba86e9 (diff) | |
download | llvm-ea64e66f7b71dfd52e9701a080b8216052344962.zip llvm-ea64e66f7b71dfd52e9701a080b8216052344962.tar.gz llvm-ea64e66f7b71dfd52e9701a080b8216052344962.tar.bz2 |
[OPENMP]Initial support for error directive.
Differential Revision: https://reviews.llvm.org/D137209
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExceptionSpec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index d8344cf..75ec180 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -1494,6 +1494,7 @@ CanThrowResult Sema::canThrow(const Stmt *S) { case Stmt::OMPTaskLoopSimdDirectiveClass: case Stmt::OMPTaskwaitDirectiveClass: case Stmt::OMPTaskyieldDirectiveClass: + case Stmt::OMPErrorDirectiveClass: case Stmt::OMPTeamsDirectiveClass: case Stmt::OMPTeamsDistributeDirectiveClass: case Stmt::OMPTeamsDistributeParallelForDirectiveClass: |