dtarditi wrote:

@haoNoQ  Thank you for the welcome and the helpful information!

Your suggestion sounds good to me.  I had actually started down this route 
initially of pointing out the logical error of using a variable before it is 
initialized. I changed direction because I was not sure where  the undefined 
values were coming from and how they propagate.

I prefer to focus on the logical error that a programmer should take action to 
fix, which in this case is using a variable or data before it is initialized.  
I've found that programmers are often unfamiliar with standards terms like 
'undefined behavior'.



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

Reply via email to