[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 02:52:32 PDT 2025
================
@@ -690,6 +1391,23 @@ SYMBOL(atol, None, <stdlib.h>)
SYMBOL(atoll, std::, <cstdlib>)
SYMBOL(atoll, None, <cstdlib>)
SYMBOL(atoll, None, <stdlib.h>)
+SYMBOL(atomic, std::, <atomic>)
+SYMBOL(atomic, std::, <memory>)
+SYMBOL(atomic_bool, std::, <atomic>)
+SYMBOL(atomic_bool, std::, <memory>)
+SYMBOL(atomic_bool, std::, <stdatomic.h>)
----------------
kadircet wrote:
> Hmm, if there is a symbol with the same namespace in the generated file and the special file, when I build it is crashing
i think this is WAI. we're trying to make sure mappings aren't redundant (especially the hand-curated one). so we should just drop the equivalents from special symbol mapping.
https://github.com/llvm/llvm-project/pull/147720
More information about the cfe-commits
mailing list