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.
Is there something magical that I need to do in order to get
clang-tidyrefactoring working for that “splic code” case? I have the
compile_commands.jsonfile and checks seem to be working… but this particular check does not.
How do I repro the with the LIT tests? Today they just check a single file… can I jam a #include there?