diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-01 10:17:31 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-01 10:17:31 +0000 |
commit | a056935a2fe055c21da3483b13cfde73d02cde02 (patch) | |
tree | 4e3411e6042ab3147656274f92b26fe30381ee07 /clang/lib/CodeGen | |
parent | 54d90f46c5662a1592be1542fb84764831615e90 (diff) | |
download | bcm5719-llvm-a056935a2fe055c21da3483b13cfde73d02cde02.tar.gz bcm5719-llvm-a056935a2fe055c21da3483b13cfde73d02cde02.zip |
[OPENMP 4.5] Parsing/sema analysis for 'priority' clause.
OpenMP 4.5 defines new clause 'priority' for 'task', 'taskloop' and 'taskloop simd' directives. Added parsing and sema analysis for 'priority' clause in 'task' and 'taskloop' directives.
llvm-svn: 254398
Diffstat (limited to 'clang/lib/CodeGen')
-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 567c03617c5..1a70a551290 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -2436,6 +2436,7 @@ static void EmitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_map: case OMPC_num_teams: case OMPC_thread_limit: + case OMPC_priority: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } } |