[clang] [clang-tools-extra] [Clang][AST] Introduce `ExplicitInstantiationDecl` to preserve source info and fix diagnostic locations (PR #191658)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 13 01:30:14 PDT 2026
================
@@ -651,6 +652,11 @@ class ASTReader
llvm::DenseMap<std::pair<const Decl *, unsigned>, NamedDecl *>
LambdaDeclarationsForMerging;
+ /// Map from canonical specialization to the corresponding explicit
+ /// instantiation declaration, for merging across modules.
+ llvm::DenseMap<const Decl *, ExplicitInstantiationDecl *>
+ ExplicitInstantiationDeclsForMerging;
----------------
16bit-ykiko wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/191658
More information about the cfe-commits
mailing list