| commit | 7726a348df3f4708959eeb75cb7f283f8ed3b3dd | [log] [tgz] |
|---|---|---|
| author | Eric Fiselier <eric@efcs.ca> | Sat Jun 13 00:23:07 2015 +0000 |
| committer | Eric Fiselier <eric@efcs.ca> | Sat Jun 13 00:23:07 2015 +0000 |
| tree | f4fe989e48d8b8d44709b6cb441ceb312af0b5a0 | |
| parent | 56a599b97645e92df891bf6d84ba806677132d5c [diff] |
Prevent dependancy on libatomic when using GCC to provide <atomic>. The __atomic_is_lock_free(...) function sometimes requires linkage to libatomic if it cannot be evaluated at compile time. Remove __c11_atomic_is_lock_free and use __atomic_is_lock_free(sizeof(Tp)) directly so that it can be evaluated at compile time. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@239648 91177308-0d34-0410-b5e6-96231b3b80d8