template <class T> struct C { C(); }; template <class T> C<T>::C() = default;
Causes a readability-redundant-declaration diagnostic. This is caused by isDefinition not matching defaulted functions.
Differential D33358
[clang-tidy] readability-redundant-declaration false positive for defaulted function fgross on May 19 2017, 7:59 AM. Authored by
Details
template <class T> struct C { C(); }; template <class T> C<T>::C() = default; Causes a readability-redundant-declaration diagnostic. This is caused by isDefinition not matching defaulted functions.
Diff Detail
|