Files
clang-p2996/libcxx/include
Volodymyr Sapsai 85d3a702da Emit an error when include <atomic> after <stdatomic.h>
C11 defines `kill_dependency` as a macro in <stdatomic.h>. When you
include <atomic> after <stdatomic.h>, the macro clashes with
`std::kill_dependency` and causes multiple errors. Explicit error should
help in diagnosing those errors.

No change for working code that includes <atomic> before <stdatomic.h>.

rdar://problem/27435938

Reviewers: rsmith, EricWF, mclow.lists, jfb

Reviewed By: jfb

Subscribers: jfb, jkorous-apple, christof, bumblebritches57, JonChesterfield, smeenai, cfe-commits

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

llvm-svn: 332413
2018-05-15 22:38:31 +00:00
..
2017-08-18 12:57:36 +00:00
2018-02-07 23:50:25 +00:00
2018-02-14 00:29:38 +00:00
2017-06-01 02:29:37 +00:00
2017-06-01 02:29:37 +00:00
2018-02-12 19:13:24 +00:00