eleviant wrote:

>Can we maybe add a member "SmallVectorImpl *ExtensionDiag" to EvalStatus, and 
>make the callers print the diagnostics?

@efriedma-quic Well, I finally decided to try this out (check the latest 
update). The main motivation was that with `-fms-compatibility` we do in fact 
bypass not just reinterpret_cast/C-style cast but also taking field address of 
a null pointer. I've made separate warning messages for both of these cases, 
which are now being emitted at call sites.

https://github.com/llvm/llvm-project/pull/197005
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to