[clang] [llvm] [clang][AST] Un-template `LazyGenerationalUpdatePtr` (PR #219187)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 27 08:24:55 PDT 2026


================
@@ -15171,14 +15171,13 @@ LangAS ASTContext::getLangASForBuiltinAddressSpace(unsigned AS) const {
   return getLangASFromTargetAS(AS);
 }
 
-// Explicitly instantiate this in case a Redeclarable<T> is used from a TU that
-// doesn't include ASTContext.h
-template
-clang::LazyGenerationalUpdatePtr<
-    const Decl *, Decl *, &ExternalASTSource::CompleteRedeclChain>::ValueType
-clang::LazyGenerationalUpdatePtr<
-    const Decl *, Decl *, &ExternalASTSource::CompleteRedeclChain>::makeValue(
-        const clang::ASTContext &Ctx, Decl *Value);
+typename clang::LazyGenerationalDeclPtr::ValueType
----------------
cor3ntin wrote:

I misread that, sorry

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


More information about the cfe-commits mailing list