Sirraide wrote: > My suggestion is to add a note identifying the defer execution that triggered > the warning.(The return line) > In complicated code with multiple defer executions, this may be hard to find.
Hmm, I’m no familiar enough w/ how `-Wuninitialized` works to be able to tell how hard it would be to implement this—and I’m not sure how useful that would be in practice. Also, I’d suggest opening a new issue for this since this pr is already closed now. https://github.com/llvm/llvm-project/pull/162848 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
