]> granicus.if.org Git - clang/commit
Use __CLANG_ATOMIC_TYPE_LOCK_FREE macros in `stdatomic.h`
authorEric Fiselier <eric@efcs.ca>
Thu, 20 Apr 2017 23:07:38 +0000 (23:07 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 20 Apr 2017 23:07:38 +0000 (23:07 +0000)
commit7a3629bc28c8f6ae1206b74fa287510ea2a11cbf
treeceb647445f2b5330cd6e7a87613b68b62848541b
parent9185c07cca21d9f696d9ff9d8db70e523c485e23
Use __CLANG_ATOMIC_TYPE_LOCK_FREE macros in `stdatomic.h`

Summary: This patch makes the header `stdatomic.h` work when `-fms-compatibility` is specified.

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D32322

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300919 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/stdatomic.h
test/Headers/stdatomic.c