[clang] [Serialization] Load Specializations Lazily (PR #76774)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 3 10:10:23 PST 2024
================
@@ -603,21 +606,30 @@ class ASTReader
llvm::DenseMap<const DeclContext *,
serialization::reader::DeclContextLookupTable> Lookups;
+ /// Map from decls to specialized decls.
+ llvm::DenseMap<const Decl *,
+ serialization::reader::SpecializationsLookupTable>
+ SpecializationsLookups;
----------------
vgvassilev wrote:
We should probably have a mapping between a template argument hash -> vector of DeclIDs.
https://github.com/llvm/llvm-project/pull/76774
More information about the cfe-commits
mailing list