diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2018-10-01 14:26:31 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-10-01 14:26:31 +0000 |
| commit | 94c506470161a65a2abbc88a9615b483bdba73c1 (patch) | |
| tree | 833f0784b44729e24a1f38987ff9a78be04817a6 /clang/lib | |
| parent | 43737a3df4057437cacd215cf9debdc278d43611 (diff) | |
| download | bcm5719-llvm-94c506470161a65a2abbc88a9615b483bdba73c1.tar.gz bcm5719-llvm-94c506470161a65a2abbc88a9615b483bdba73c1.zip | |
[OPENMP] Fix enum identifier, NFC.
llvm-svn: 343479
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 937b59f506a..1efbccaa710 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -3912,7 +3912,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_use_device_ptr: case OMPC_is_device_ptr: case OMPC_unified_address: - case OMP_unified_shared_memory: + case OMPC_unified_shared_memory: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } } |

