<div dir="ltr">I'm looking to make use of a clang-tidy check that would find (and optionally value-initialise) primitive class members (pointers, int, doubles etc).<div><br></div><div><font face="monospace, monospace">class C</font></div><div><font face="monospace, monospace">{</font></div><div><font face="monospace, monospace">  int x_;</font></div><div><font face="monospace, monospace">public:</font></div><div><font face="monospace, monospace">  <font color="#990000">C() {} // no x_()</font></font></div><div><font face="monospace, monospace">};</font></div><div><br></div><div>Is this:</div><div><br></div><div>1) Already possible? (I can't find it)</div><div><br></div><div>2) Already work in progress? (I'd like to participate)</div><div><br></div><div>3) Possible at all?</div><div><br></div><div>3. Is motivated by my very weak understanding of the matchers, I'm not sure if I can match things that are missing if the missing things depend on the node I'm looking at. It would be nice to match the compiler generated constructor too (and generate one) if that would fail to initialise primitives as required.</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Jon</div></div>