================ @@ -279,155 +17,6 @@ SYMBOL(abs, None, <stdlib.h>) SYMBOL(abs, None, <cmath>) SYMBOL(abs, None, <math.h>) -// Only add headers for the generic atomic template. -// Ignore variants (std::weak_ptr, std::shared_ptr). -SYMBOL(atomic, std::, <atomic>) -// atomic_* family symbols. <stdatomic.h> is for C compatibility. -SYMBOL(atomic_bool, std::, <atomic>) -SYMBOL(atomic_bool, None, <atomic>) -SYMBOL(atomic_bool, None, <stdatomic.h>) ---------------- kadircet wrote:
- for c, i have less context, so I am happy to roll with dropping `threads.h` from alternatives. - for c++, having `memory` as an alternative is actually the right thing. some (partial) specializations involving atomic's of smart pointers are actually defined in <memory>. so as long as the preferred header is `atomic`, i think we should actually keep memory. https://github.com/llvm/llvm-project/pull/147720 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits