bcraig added a comment.

In https://reviews.llvm.org/D23719#520952, @rsmith wrote:

> Are we really guaranteed that the C and C++ compiler behave the same way 
> here? I don't see why that would necessarily be the case.


For libc++, std::atomic is implemented in terms of _Atomic.  So as long as the 
C++ compiler doesn't butcher _Atomic, it seems that the behavior would be the 
same.


https://reviews.llvm.org/D23719



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to