[PATCH] D11233: [MS Compat] Allow _Atomic(Type) and 'struct _Atomic' to coexist

Reid Kleckner rnk at google.com
Wed Jul 15 11:56:09 PDT 2015


rnk added a comment.

This seems like a better solution. I assume you manually tested with MSVC's <atomic>.


================
Comment at: test/SemaCXX/MicrosoftCompatibility.cpp:13
@@ -13,5 +12,3 @@
 _Atomic(int) z;
-#else
 struct _Atomic {};
 
----------------
Did you want to add a test for the base specifier case?


http://reviews.llvm.org/D11233







More information about the cfe-commits mailing list