NFC: unify clang / LLVM atomic ordering
authorJF Bastien <jfb@google.com>
Mon, 18 Apr 2016 18:01:49 +0000 (18:01 +0000)
committerJF Bastien <jfb@google.com>
Mon, 18 Apr 2016 18:01:49 +0000 (18:01 +0000)
commitdda2cb17a36237f9100a7f1169dc01ea753632fb
treef9902c8912dee00eaee34764d94b442eb09035bf
parentbbb0aee66ea6a6175d6143975969ebd5048e4fa7
NFC: unify clang / LLVM atomic ordering

This makes the C11 / C++11 *ABI* atomic ordering accessible from LLVM,
as discussed in http://reviews.llvm.org/D18200#inline-151433

This re-applies r266574 which I had reverted in r266575.

Depends on http://reviews.llvm.org/D18875

Original review: http://reviews.llvm.org/D18876

llvm-svn: 266641
clang/include/clang/AST/Expr.h
clang/lib/CodeGen/CGAtomic.cpp
clang/lib/Sema/SemaChecking.cpp