[PATCH] D24965: [clang-tidy] Fix cppcoreguidelines-pro-type-member-init false negatives
Malcolm Parsons via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 08:13:16 PDT 2016
malcolm.parsons created this revision.
malcolm.parsons added reviewers: alexfh, aaron.ballman, omtcyfz.
malcolm.parsons added subscribers: cfe-commits, mgehre.
Herald added a subscriber: nemanjai.
Handle classes with default constructors that are defaulted or are not
present in the AST.
Classes with virtual methods or virtual bases are not trivially
default constructible, so their members and bases need to be initialized.
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.72654.patch
Type: text/x-patch
Size: 8606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160927/99fa8d2d/attachment.bin>
More information about the cfe-commits
mailing list