================
@@ -367,12 +367,6 @@ bool RedeclarableTemplateDecl::loadLazySpecializationsImpl(
   if (!ExternalSource)
     return false;
 
-  // If TPL is not null, it implies that we're loading specializations for
-  // partial templates. We need to load all specializations in such cases.
-  if (TPL)
----------------
hahnjo wrote:

Actually, looking into df061c3e2b97974f9e2d72a023eb1c5b987010bc this may be 
something which is not properly handled for lazy template loading. 
@emaxx-google can you check if the failures you are seeing involves constrained 
partial specializations or function overloads? If so, can you mayble locally 
revert 48f50c7385d79da320cdf52d3aabc83cc403ff9c `[Serialization] Load only 
needed partial specializations`?

https://github.com/llvm/llvm-project/pull/133057
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to