[all-commits] [llvm/llvm-project] 5ad495: [clang] Unique NamespaceAndPrefixStorages with a U...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Sep 27 15:22:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5ad4959a040a6e31eba7ab46f3bf4fd41cd224dc
https://github.com/llvm/llvm-project/commit/5ad4959a040a6e31eba7ab46f3bf4fd41cd224dc
Author: Kazu Hirata <kazu at google.com>
Date: 2026-09-27 (Sun, 27 Sep 2026)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/NestedNameSpecifierBase.h
M clang/lib/AST/NestedNameSpecifier.cpp
Log Message:
-----------
[clang] Unique NamespaceAndPrefixStorages with a UniquingSet (NFC) (#224221)
This patch migrates NamespaceAndPrefixStorages in ASTContext from
llvm::FoldingSet to llvm::UniquingSet.
NamespaceAndPrefixStorage keys on a pair of const NamespaceBaseDecl *
and NestedNameSpecifier. Switching to UniquingSet allows us to look
up storages with a typed key, eliminating FoldingSetNodeID
serialization at lookup sites and removing
NamespaceAndPrefixStorage::Profile.
Assisted-by: Antigravity
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list