Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/117...@github.com>


Sirraide wrote:

> Is the lifetime for the APSInt here OK? When I call `Diag()`, will the be 
> diagnostic emitted immediately? Or does the APSInt need to life longer?

Iirc that cause problems if e.g. `PDiag` is used since the diagnostic is stored 
and emitted later.

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

Reply via email to