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

Xing via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 8 06:00:03 PDT 2018


Higuoxing updated this revision to Diff 150495.
Higuoxing added a comment.

Update without conflict with test case `parentheses.c`... I add a separate option [-Wlogical-op-parentheses-in-macros] and will be silence by default

thanks


https://reviews.llvm.org/D47687

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExpr.cpp
  test/Sema/logical-op-parentheses-in-macros.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47687.150495.patch
Type: text/x-patch
Size: 5163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180608/74fb5c1e/attachment.bin>


More information about the cfe-commits mailing list