Skip to content
Commit fdaabf1c authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Fix some false-positives with cppcoreguidelines-pro-type-member-init. Handle...

Fix some false-positives with cppcoreguidelines-pro-type-member-init. 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.

Patch by Malcolm Parsons.

llvm-svn: 283224
parent 92589990
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment