[PATCH] D19758: [libcxx] [test] Replace non-Standard "atomic_flag f(false); " with Standard "atomic_flag f = ATOMIC_FLAG_INIT; ".

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 12:25:16 PDT 2016


STL_MSFT added a comment.

Since you control the definition of ATOMIC_FLAG_INIT, can you make it something like __secret_tag_type() in C++03?  That would allow you to continue to provide the atomic_flag(bool) extension in C++03.


http://reviews.llvm.org/D19758





More information about the cfe-commits mailing list