The check should bomb out when there are multiple constructors. However, it didn't count template constructors.
Add a negative test case TwoConstructorsTpl and make it pass.
Differential D143375
clang-tidy: Count template constructors in modernize-use-default-member-init MarcoFalke on Feb 6 2023, 2:00 AM. Authored by
Details The check should bomb out when there are multiple constructors. However, it didn't count template constructors. Add a negative test case TwoConstructorsTpl and make it pass.
Diff Detail Event TimelineComment Actions Remove both test cases that pass on current main on Linux, but fail on Windows. Seems unrelated to add/fix them here. |