[PATCH] D45470: Emit an error when mixing <stdatomic.h> and <atomic>

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 24 09:00:27 PDT 2018


mclow.lists added inline comments.


================
Comment at: clang/test/Headers/stdatomic.cpp:4
+
+#include <stdatomic.h>
+
----------------
Is there a reason we want to test this twice - once in clang and once in libc++?
We can use `expected-error` in libc++ tests to check the error.



https://reviews.llvm.org/D45470





More information about the cfe-commits mailing list