[PATCH] D35235: [libc++] Replace __sync_* functions with __libcpp_atomic_* functions
Eric Fiselier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 15:02:08 PDT 2017
EricWF accepted this revision.
EricWF added inline comments.
================
Comment at: src/include/atomic_support.h:153
+ _ValueType old;
+ old = *__target;
+ *__target = __value;
----------------
Initialize `old` on the same line it's declared on.
https://reviews.llvm.org/D35235
More information about the llvm-commits
mailing list