[PATCH] D24965: [clang-tidy] Fix cppcoreguidelines-pro-type-member-init false negatives

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 04:21:22 PDT 2016


malcolm.parsons updated this revision to Diff 73452.
malcolm.parsons added a comment.

Don't match template instantiations.
Add assert message.
Update macro comment.
Add tests for templates and macros.


https://reviews.llvm.org/D24965

Files:
  clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h
  clang-tidy/utils/TypeTraits.cpp
  test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24965.73452.patch
Type: text/x-patch
Size: 9606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161004/dbaab32d/attachment-0001.bin>


More information about the cfe-commits mailing list