summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/OpenMPClause.cpp
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-10-11 14:41:10 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-10-11 14:41:10 +0000
commit3fe9e396f4d86e8c3e1144a1369f84874dbe8daf (patch)
treeceaa99c210a3c0f823f83232179a23e23a00b746 /clang/lib/AST/OpenMPClause.cpp
parent352a2fa1e765943fde9d622313a0977fe2c3a607 (diff)
downloadbcm5719-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/AST/OpenMPClause.cpp')
-rw-r--r--clang/lib/AST/OpenMPClause.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/OpenMPClause.cpp b/clang/lib/AST/OpenMPClause.cpp
index 5642294f09d..a39f8b06c51 100644
--- a/clang/lib/AST/OpenMPClause.cpp
+++ b/clang/lib/AST/OpenMPClause.cpp
@@ -109,6 +109,7 @@ const OMPClauseWithPreInit *OMPClauseWithPreInit::get(const OMPClause *C) {
case OMPC_unified_address:
case OMPC_unified_shared_memory:
case OMPC_reverse_offload:
+ case OMPC_dynamic_allocators:
break;
}
@@ -181,6 +182,7 @@ const OMPClauseWithPostUpdate *OMPClauseWithPostUpdate::get(const OMPClause *C)
case OMPC_unified_address:
case OMPC_unified_shared_memory:
case OMPC_reverse_offload:
+ case OMPC_dynamic_allocators:
break;
}
OpenPOWER on IntegriCloud