From 1c2cfbc3eac44ab3ec79bcdae56a23a17e5c9693 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 23 Jun 2015 14:25:19 +0000 Subject: [OPENMP] Initial support for 'depend' clause (4.0). Parsing and sema analysis (without support for array sections in arguments) for 'depend' clause (used in 'task' directive, OpenMP 4.0). llvm-svn: 240409 --- clang/lib/CodeGen/CGStmtOpenMP.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen') diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 5e94d56feb5..5d7683d31cd 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -2041,6 +2041,7 @@ static void EmitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_nowait: case OMPC_untied: case OMPC_threadprivate: + case OMPC_depend: case OMPC_mergeable: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } -- cgit v1.2.3