[PATCH] D24861: [Sema] extend Wshift-op-parentheses so it warns for multiplicative operators

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 05:47:43 PDT 2016


danielmarjamaki set the repository for this revision to rL LLVM.
danielmarjamaki updated this revision to Diff 73633.
danielmarjamaki added a comment.

Add new flag : -Wshift-op-parentheses-mul
This is not enabled by default.


Repository:
  rL LLVM

https://reviews.llvm.org/D24861

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExpr.cpp
  test/Sema/parentheses.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24861.73633.patch
Type: text/x-patch
Size: 5197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161005/aaec270a/attachment.bin>


More information about the cfe-commits mailing list