[PATCH] D35235: [libc++] Replace __sync_* functions with __libcpp_atomic_* functions
Weiming Zhao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 19 13:36:28 PDT 2017
weimingz updated this revision to Diff 115891.
weimingz added a comment.
Moved the inclusion from stdexcept.cpp into refstring.h
For exception.cpp and new.cpp, I think it's better to keep the inclusion there. Those files include new_handler_fallback.ipp, exception_fallback.ipp, which need the header file. Including it in those .ipp requires relative path as "../../include/atomic_support.h" and I tried to avoid that.
https://reviews.llvm.org/D35235
Files:
src/exception.cpp
src/include/atomic_support.h
src/include/refstring.h
src/locale.cpp
src/new.cpp
src/support/runtime/exception_fallback.ipp
src/support/runtime/new_handler_fallback.ipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35235.115891.patch
Type: text/x-patch
Size: 6017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170919/6d6f9770/attachment.bin>
More information about the cfe-commits
mailing list