[PATCH] D59103: [clang-tidy] New checker bugprone-incomplete-comparison-operator
Kalle Huttunen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 10:46:45 PST 2019
kallehuttunen created this revision.
kallehuttunen added reviewers: alexfh, hokein, JonasToth, aaron.ballman.
kallehuttunen added a project: clang-tools-extra.
Herald added subscribers: jdoerfert, xazax.hun, mgorny.
Herald added a project: clang.
The checker detects comparison operators that don't access all fields of the compared types.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D59103
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/IncompleteComparisonOperatorCheck.cpp
clang-tidy/bugprone/IncompleteComparisonOperatorCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/bugprone-incomplete-comparison-operator.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/bugprone-incomplete-comparison-operator-custom.cpp
test/clang-tidy/bugprone-incomplete-comparison-operator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59103.189753.patch
Type: text/x-patch
Size: 23651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190307/2696fbe4/attachment-0001.bin>
More information about the cfe-commits
mailing list