[PATCH] D19993: Fixed cppcoreguidelines-pro-type-member-init when checking records with indirect fields

Michael Miller via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 13:36:03 PDT 2016


michael_miller created this revision.
michael_miller added reviewers: hokein, aaron.ballman, alexfh.
michael_miller added a subscriber: cfe-commits.

Fixed a crash in cppcoreguidelines-pro-type-member-init when checking record types with indirect fields pre-C++11.
Fixed handling of indirect fields so they are properly checked and suggested fixes are proposed.

http://reviews.llvm.org/D19993

Files:
  clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  test/clang-tidy/cppcoreguidelines-pro-type-member-init-cxx98.cpp
  test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19993.56341.patch
Type: text/x-patch
Size: 6394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160505/88f8526e/attachment.bin>


More information about the cfe-commits mailing list