[PATCH] D17993: [CodeGen] Apply 'nonnull' to 'this' pointer arguments.

Chandler Carruth via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 9 09:30:01 PST 2016


chandlerc added a subscriber: chandlerc.
chandlerc added a comment.

If we're not going to fully implement "fdelete-null-pointer-checks" we shouldn't claim to... I'm really worried about us accepting that flag and not actually honoring it.

However, I *do* think this should be guarded by a flag, and it should be specific to the 'this' pointer. And I'm also sufficiently terrified of this that I think the flag should be off to start with so that folks can find out how bad this is really going to be...


http://reviews.llvm.org/D17993





More information about the cfe-commits mailing list