summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2016-04-06 17:26:42 +0000
committerJF Bastien <jfb@google.com>2016-04-06 17:26:42 +0000
commit92f4ef10178b8824be6de200a3160c1af532aa1f (patch)
tree834c1e089848cb74efe196075e74a0410d9819fd /clang/lib/CodeGen/CodeGenFunction.h
parentc17f7440013d193e33a87af5a56f1b0c7c4846b2 (diff)
downloadbcm5719-llvm-92f4ef10178b8824be6de200a3160c1af532aa1f.tar.gz
bcm5719-llvm-92f4ef10178b8824be6de200a3160c1af532aa1f.zip
NFC: make AtomicOrdering an enum class
Summary: See LLVM change D18775 for details, this change depends on it. Reviewers: jyknight, reames Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18776 llvm-svn: 265569
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index c21fd1d61f9..28754c306ba 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2483,8 +2483,10 @@ public:
std::pair<RValue, llvm::Value *> EmitAtomicCompareExchange(
LValue Obj, RValue Expected, RValue Desired, SourceLocation Loc,
- llvm::AtomicOrdering Success = llvm::SequentiallyConsistent,
- llvm::AtomicOrdering Failure = llvm::SequentiallyConsistent,
+ llvm::AtomicOrdering Success =
+ llvm::AtomicOrdering::SequentiallyConsistent,
+ llvm::AtomicOrdering Failure =
+ llvm::AtomicOrdering::SequentiallyConsistent,
bool IsWeak = false, AggValueSlot Slot = AggValueSlot::ignored());
void EmitAtomicUpdate(LValue LVal, llvm::AtomicOrdering AO,
OpenPOWER on IntegriCloud