[PATCH] D17950: Implement is_always_lock_free
JF Bastien via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 8 14:04:56 PST 2016
jfb added inline comments.
================
Comment at: lib/Frontend/InitPreprocessor.cpp:480
@@ +479,3 @@
+ if (LangOpts.CPlusPlus1z) {
+ Builder.defineMacro("__cpp_lib_atomic_is_always_lock_free", "201603");
+ }
----------------
jfb wrote:
> How do you pick these numbers before the standard is actually out? 201603 is the Jacksonville meeting, seems fine to me :)
Those come from a separate SG10 paper: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0096r1.html#recs.cpp17
A number hasn't been published yet, I'll update the number once the post-Jacksonville mailing is out (I sent Clark a ping).
http://reviews.llvm.org/D17950
More information about the cfe-commits
mailing list