summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGAtomic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGAtomic.cpp b/clang/lib/CodeGen/CGAtomic.cpp
index b753f9bfe8b..e9df31e0fdd 100644
--- a/clang/lib/CodeGen/CGAtomic.cpp
+++ b/clang/lib/CodeGen/CGAtomic.cpp
@@ -264,6 +264,7 @@ AtomicInfo::translateAtomicOrdering(const llvm::AtomicOrdering AO) {
case llvm::SequentiallyConsistent:
return AtomicExpr::AO_ABI_memory_order_seq_cst;
}
+ llvm_unreachable("Unhandled AtomicOrdering");
}
llvm::Value *AtomicInfo::CreateTempAlloca() const {
OpenPOWER on IntegriCloud