[PATCH] D35932: [clang-tidy] Add integer division check

Reka Kovacs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 3 02:10:25 PDT 2017


rnkovacs updated this revision to Diff 109497.
rnkovacs edited the summary of this revision.
rnkovacs added a comment.

Uploaded a more thought-out version of the check with more cases covered and hopefully clearer docs. It produces no hits on LLVM&Clang.


https://reviews.llvm.org/D35932

Files:
  clang-tidy/bugprone/BugproneTidyModule.cpp
  clang-tidy/bugprone/CMakeLists.txt
  clang-tidy/bugprone/IntegerDivisionCheck.cpp
  clang-tidy/bugprone/IntegerDivisionCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/bugprone-integer-division.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/bugprone-integer-division.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35932.109497.patch
Type: text/x-patch
Size: 12583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170803/1fdff4bb/attachment-0001.bin>


More information about the cfe-commits mailing list