projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43737a3
)
[OPENMP] Fix enum identifier, NFC.
author
Alexey Bataev
<a.bataev@hotmail.com>
Mon, 1 Oct 2018 14:26:31 +0000
(14:26 +0000)
committer
Alexey Bataev
<a.bataev@hotmail.com>
Mon, 1 Oct 2018 14:26:31 +0000
(14:26 +0000)
llvm-svn: 343479
clang/lib/CodeGen/CGStmtOpenMP.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGStmtOpenMP.cpp
b/clang/lib/CodeGen/CGStmtOpenMP.cpp
index
937b59f
..
1efbcca
100644
(file)
--- 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 OMP
C
_unified_shared_memory:
llvm_unreachable("Clause is not allowed in 'omp atomic'.");
}
}