[PATCH] D12759: [clang-tidy] Add misc-sizeof-container check to find sizeof() uses on stlcontainers.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 10 07:54:20 PDT 2015
alexfh updated this revision to Diff 34446.
alexfh added a comment.
Match a broader set of containers. Updated diagnostic message. Added tests.
http://reviews.llvm.org/D12759
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/MiscTidyModule.cpp
clang-tidy/misc/SizeofContainerCheck.cpp
clang-tidy/misc/SizeofContainerCheck.h
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-sizeof-container.rst
test/clang-tidy/misc-sizeof-container.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12759.34446.patch
Type: text/x-patch
Size: 8901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150910/1c37468f/attachment.bin>
More information about the cfe-commits
mailing list