<div dir="ltr"><div dir="ltr">...and the answer to both questions is the `-header-filter` option. It looks like there are no implicit defaults and so if you are checking code in `./libs/mylib/`, that must be expressed with the aforementioned option.</div><div dir="ltr"><br></div><div>Hopefully this note will be useful to someone.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 2, 2021 at 3:40 PM Oleg Smolsky <<a href="mailto:osmolsky@netskope.com">osmolsky@netskope.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    <p><font face="Calibri">Folks, I've just realized that while the
        modernize-use-default-member-init check works for cases where
        all code (the class declaration, the constructor declaration and
        definition) is located in one file. That is a minor case in our
        code base as the absolute majority of code is split between the
        .h/.cpp files.</font></p>
    <p><font face="Calibri">1) Is there something magical that I need to
        do in order to get `clang-tidy` refactoring working for that
        "splic code" case? I have the `compile_commands.json` file and
        checks seem to be working... but this particular check does not.</font></p>
    <p>2) How do I repro the with the LIT tests? Today they just check a
      single file... can I jam a #include there?</p>
    <p>Thanks!<br>
      Oleg.<br>
    </p>
  </div>

</blockquote></div>