diff options
author | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-10-11 14:41:10 +0000 |
---|---|---|
committer | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-10-11 14:41:10 +0000 |
commit | 3fe9e396f4d86e8c3e1144a1369f84874dbe8daf (patch) | |
tree | ceaa99c210a3c0f823f83232179a23e23a00b746 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | 352a2fa1e765943fde9d622313a0977fe2c3a607 (diff) | |
download | bcm5719-llvm-3fe9e396f4d86e8c3e1144a1369f84874dbe8daf.tar.gz bcm5719-llvm-3fe9e396f4d86e8c3e1144a1369f84874dbe8daf.zip |
Add support for 'dynamic_allocators' clause on 'requires' directive. Differential Revision: https://reviews.llvm.org/D53079
llvm-svn: 344249
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 7872a805cc3..f410c59829d 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -3901,6 +3901,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_unified_address: case OMPC_unified_shared_memory: case OMPC_reverse_offload: + case OMPC_dynamic_allocators: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } } |