Duplicate fixes were being created for explicit template instantiations
of out-of-line constructors or destructors.
Fixes PR30921.
Differential D26582
[clang-tidy] Handle template instantiations in modenize-use-default check malcolm.parsons on Nov 12 2016, 1:46 PM. Authored by
Details Duplicate fixes were being created for explicit template instantiations Fixes PR30921.
Diff Detail
Event Timeline
Comment Actions LGTM!
|
Would it be better if the = default were on the inline declaration rather than the out-of-line definition? If so, that might be a reasonable FIXME to add to this test (assuming you don't feel like fixing it as part of this patch).
Also, does the = delete check suffer from the same issue?