[libc++] Refactoring __sync_* builtins; NFC
authorWeiming Zhao <weimingz@codeaurora.org>
Mon, 10 Jul 2017 21:02:54 +0000 (21:02 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Mon, 10 Jul 2017 21:02:54 +0000 (21:02 +0000)
commit07f6efddc037558f014b13ab0b6ff6669c8d5f4d
treec28c5e68f3d926fb6d8eb1c4c0b4d8e85c285073
parent6708e0b45eee7518d6662e216348efab1f30d0ea
[libc++] Refactoring __sync_* builtins; NFC

Summary: Wrap __sync_* builtins with __libcpp_ functions to facility future customizations as atomic operations are unavailable on some targets.

Reviewers: danalbert, EricWF, jroelofs

Subscribers: joerg, llvm-commits

Differential Revision: https://reviews.llvm.org/D34918

llvm-svn: 307591
libcxx/include/__atomic_support [new file with mode: 0644]
libcxx/include/__refstring
libcxx/src/locale.cpp
libcxx/src/support/runtime/exception_fallback.ipp
libcxx/src/support/runtime/new_handler_fallback.ipp