[PATCH] D47687: fix: [Bug 18971] - Missing -Wparentheses warning

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 7 17:18:03 PDT 2018


rnk added subscribers: dexonsmith, chandlerc.
rnk added a comment.

@dexonsmith is there someone from Apple who can comment on rdar://8678458 and the merits of disabling this warning in macros? I strongly suspect the original report was dealing with code like `assert(x || y && "str");`, if so we can go forward with this.

@chandlerc I know you've hit this behavior difference vs. GCC before. Any thoughts on the proposed change?


https://reviews.llvm.org/D47687





More information about the cfe-commits mailing list