I used the run-clang-tidy script to operate across a large compilation database using:
run-clang-tidy.py -header-filter=.* -checks=-*,-cppcoreguidelines-pro-type-member-init -export-fixes=ctinit.yaml This generated a large YAML fixit file. I've since edited the file to remove and/or change some of the fixits. I'm now writing a program to split the results into a set of file by file fixits with duplicates removed so I can apply the results in stages. Robert On Fri, Apr 26, 2019 at 2:11 PM Christian Gagneraud <chg...@gmail.com> wrote: > On Sat, 27 Apr 2019 at 09:01, Robert Ankeney <rrank...@gmail.com> wrote: > > > > Hi Chris, > > > > Thanks for the fast response! As it turns out, I was doing that, but > found that there must be some edit in my .yaml file it doesn't like, as it > simply returned without doing anything. Making a short subset of the file > worked fine, so I'm looking at breaking it into pieces to see if I can > narrow it down. On the first cut, it at least did warn me about some > duplicate replacements and exited. > > > > Feel free to submit bug report and/or suggestion: > https://llvm.org/docs/HowToSubmitABug.html > > What program do you use to generate the replacement files? > > Chris >
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users