[PATCH] D71607: [clang-tidy] Add unsigned subtraction warning, with suggestion to convert to unsigned literals.
Jeffrey Sorensen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 14:54:18 PST 2020
sorenj updated this revision to Diff 237440.
sorenj added a comment.
- Merge branch 'master' of https://github.com/llvm/llvm-project
- Add documentation and release notes, fix spelling error.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71607/new/
https://reviews.llvm.org/D71607
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/UnsignedSubtractionCheck.cpp
clang-tools-extra/clang-tidy/bugprone/UnsignedSubtractionCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unsigned-subtraction.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone-unsigned-subtraction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71607.237440.patch
Type: text/x-patch
Size: 13839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200110/48cd5aff/attachment-0001.bin>
More information about the cfe-commits
mailing list