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

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 18 03:47:27 PDT 2025


================
@@ -232,4 +247,4 @@ def GetSymbols(parse_pages):
     finally:
         pool.terminate()
         pool.join()
-    return sorted(symbols)
+    return sorted(set(symbols))
----------------
kadircet wrote:

each symbol should already have a unique name, why do we need this conversion to a `set` here?

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


More information about the cfe-commits mailing list