DeinAlptraum wrote:

I can't think of any more genereal approach that prevents this sort of problem. 
Type checking would help with this (e.g. giving an error when an unknown 
attribute is called on an object) though it wouldn't have worked in this 
specific case... otherwise nothing to do but add more tests I guess.

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

Reply via email to