[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:17:45 PDT 2015


alexfh updated this revision to Diff 34441.
alexfh added a comment.

Ignore template instantiations.


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.34441.patch
Type: text/x-patch
Size: 8287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150910/7a4a0b89/attachment.bin>


More information about the cfe-commits mailing list