erichkeane wrote:

> Umm how could I resolve that? I tried various things but none working. 🥲

You'll have to spend some time in a debugger (note that 
`clang::DiagnosticIDs::EmitDiag` is where the diagnostic happens, so is a good 
place for a brekapoint).  But I see that in your creation of your expressions 
you use `SourceLocation{}` in a few places (which is the 'empty' source 
`SourceLocation` and likely what is being used for the diagnostic).

So you'll likely need to come up with a good location for at least one of those.

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

Reply via email to