[PATCH] D60139: [clang-tidy] Add bugprone-placement-new-target-type-mismatch check
Dennis Luxen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 10 06:40:30 PDT 2019
DennisL updated this revision to Diff 194505.
DennisL marked an inline comment as done.
DennisL added a comment.
Changed the following
- addressed reviewer feedback
- fetch the placement parameter as written
- add further test cases as requested
- stylistic changes
- add nothrow parameter support
- ignore matches with unresolved template parameters
- add examples of bad and good code
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60139/new/
https://reviews.llvm.org/D60139
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/PlacementNewTargetTypeMismatch.cpp
clang-tidy/bugprone/PlacementNewTargetTypeMismatch.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/bugprone-placement-new-target-type-mismatch.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/bugprone-placement-new-target-type-mismatch.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60139.194505.patch
Type: text/x-patch
Size: 10986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190410/67001a6e/attachment-0001.bin>
More information about the cfe-commits
mailing list