[clang] [Serialization] Fix lazy template loading (PR #133057)

Maksim Ivanov via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 11 05:16:25 PDT 2025


emaxx-google wrote:

> > Here's a new reproducer, this time verifying that a semi-fresh tip-of-the-tree doesn't trigger the same error: https://pastebin.com/7tYfjazz. Apologies for the delay.
> 
> Thanks. I gave it a try, but I don't see any `use of overloaded operator '=' is ambiguous` error. In fact, there isn't a `operator =` in the sources at all. What am I missing? 🤔

I didn't investigate the error - but could it come from autogenerated operators?

> Creduce-like tools are very bad at finding reject valid codes. @emaxx-google, can you paste your interestingness test?

Here's the (slightly smaller) input: https://pastebin.com/dBy1T9fc . The simplified script: https://pastebin.com/udVTaPYV . Its output: https://pastebin.com/Mcq0Y0rf .

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


More information about the cfe-commits mailing list