cor3ntin wrote: SourceLocation needs to be dependent because we want to make the name of the function and any template parameter refers to the instantiated function rather than that of the function template. This was changed in https://github.com/llvm/llvm-project/pull/78436
The issue is that SourceLocation then is a dependent expression that does not depend on any parameters and its never re-transformed (hence the crash). I have so far been unable to find a solution. I wonder if we should attach the template parameters to the source location expression, but that seems a bit involved. https://github.com/llvm/llvm-project/pull/94942 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits