]> granicus.if.org Git - clang/commit
Revert "Emit an error when mixing <stdatomic.h> and <atomic>"
authorVolodymyr Sapsai <vsapsai@apple.com>
Wed, 2 May 2018 19:52:07 +0000 (19:52 +0000)
committerVolodymyr Sapsai <vsapsai@apple.com>
Wed, 2 May 2018 19:52:07 +0000 (19:52 +0000)
commit2fccc9495dd0f280e1aee43d9f3cbdeae13a4fd9
tree054867fcc68ef201f5ff8fef334519750515b0b4
parent7960d1e27671e32f1477d891df719beda68fc7d4
Revert "Emit an error when mixing <stdatomic.h> and <atomic>"

It reverts r331378 as it caused test failures

    ThreadSanitizer-x86_64 :: Darwin/gcd-groups-destructor.mm
    ThreadSanitizer-x86_64 :: Darwin/libcxx-shared-ptr-stress.mm
    ThreadSanitizer-x86_64 :: Darwin/xpc-race.mm

Only clang part of the change is reverted, libc++ part remains as is because it
emits error less aggressively.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/stdatomic.h
test/Headers/stdatomic.cpp [deleted file]