[clang] [include-cleaner] Support multi-header symbols in mapping generator (PR #147720)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 28 03:16:53 PDT 2025


================
@@ -279,154 +17,55 @@ 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>)
+// atomic_* family symbols.
----------------
kadircet wrote:

fwiw, we should actually delete all of this. these should never been part of this list per https://eel.is/c++draft/stdatomic.h.syn#3

https://github.com/llvm/llvm-project/pull/147720


More information about the cfe-commits mailing list