summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-10-01 14:26:31 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-10-01 14:26:31 +0000
commit94c506470161a65a2abbc88a9615b483bdba73c1 (patch)
tree833f0784b44729e24a1f38987ff9a78be04817a6 /clang/lib
parent43737a3df4057437cacd215cf9debdc278d43611 (diff)
downloadbcm5719-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.cpp2
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'.");
}
}
OpenPOWER on IntegriCloud