[PATCH] D45470: Emit an error when mixing <stdatomic.h> and <atomic>
JF Bastien via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 3 14:15:52 PDT 2018
jfb added a comment.
This isn't bad, so I'd go with it, but separately I imagine that we could implement the suggestion in http://wg21.link/p0943 and expose it even before C++20? Not sure we do this much, but I'd argue that before that fix stdatomic.h is just useless anyways, so it's a fine breakage. I imagine that the stdatomic.h where it's implemented would be the one injected by clang, not the libc++ one?
Repository:
rC Clang
https://reviews.llvm.org/D45470
More information about the cfe-commits
mailing list