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

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 4 09:15:48 PDT 2018


rnk added a comment.

I'm in favor of this direction. The `var || var && truth_constant` pattern match seems much more robust than the macro pattern match. It's also consistent with what we do outside of macros, so it's less special and surprising.


https://reviews.llvm.org/D47687





More information about the cfe-commits mailing list