summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmtOpenMP.cpp
diff options
context:
space:
mode:
authorArpith Chacko Jacob <acjacob@us.ibm.com>2016-01-26 16:37:23 +0000
committerArpith Chacko Jacob <acjacob@us.ibm.com>2016-01-26 16:37:23 +0000
commit3cf89040b0fa1ef6d930374e04a314d4c1cb0c87 (patch)
tree88435467e8adcbbe760803882052ba793b8b54b5 /clang/lib/CodeGen/CGStmtOpenMP.cpp
parent980b280f501b91fb13538c95de5b0677f2b635fb (diff)
downloadbcm5719-llvm-3cf89040b0fa1ef6d930374e04a314d4c1cb0c87.tar.gz
bcm5719-llvm-3cf89040b0fa1ef6d930374e04a314d4c1cb0c87.zip
[OpenMP] Parsing + sema for defaultmap clause.
Summary: This patch adds parsing + sema for the defaultmap clause associated with the target directive (among others). Reviewers: ABataev Differential Revision: http://reviews.llvm.org/D16527 llvm-svn: 258817
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmtOpenMP.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp
index a6abbba9340..2ea9b0fa636 100644
--- a/clang/lib/CodeGen/CGStmtOpenMP.cpp
+++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp
@@ -2564,6 +2564,7 @@ static void EmitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind,
case OMPC_num_tasks:
case OMPC_hint:
case OMPC_dist_schedule:
+ case OMPC_defaultmap:
llvm_unreachable("Clause is not allowed in 'omp atomic'.");
}
}
OpenPOWER on IntegriCloud