[clang] [clang][Tooling] Reuse standard-library symbol descriptors (PR #202663)

David Zbarsky via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 11 11:01:48 PDT 2026


================
@@ -24,6 +24,12 @@ namespace {
 // Symbol name -> Symbol::ID, within a namespace.
 using NSSymbolMap = llvm::DenseMap<llvm::StringRef, unsigned>;
 
+struct SymbolMapping {
+  const char *QName;
+  unsigned NSLen;
+  const char *HeaderName;
+};
----------------
dzbarsky wrote:

Or perhaps even 1 StringTable and interleave them

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


More information about the cfe-commits mailing list