[PATCH] D17950: Implement is_always_lock_free
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 16:37:36 PDT 2016
rsmith added inline comments.
================
Comment at: lib/Frontend/InitPreprocessor.cpp:465
@@ +464,3 @@
+ if (LangOpts.CPlusPlus1z) {
+ Builder.defineMacro("__cpp_lib_atomic_is_always_lock_free", "201603");
+ }
----------------
This should be defined by the relevant library header, not by the compiler, to indicate the library actually provides the new symbol.
http://reviews.llvm.org/D17950
More information about the cfe-commits
mailing list