Nerixyz wrote:

> Probably where we create the FunctionDecl?

The first warning is emitted when creating the return value. So I'm checking 
for a coroutine there. To fix the crash in the AnalysisBasedWarnings, I'm 
checking if a diagnostic with ID 0 would've been emitted.

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

Reply via email to