[clang-tidy] viewing clang-tidy export file

Is there a way to view a clang-tidy export file that will show the original warning+fixit as it appeared in the original clang-tidy output?

Hi Don,

there is a -export-fixes option that will serialize the diagnostics and fixits into yaml (machine readable, but same content).
Otherwise you would need to capture the logs, e.g. using tee and piping in linux for interactive clang-tidy usage.

Best Regards, Jonas

Hi Jonas:

Hi Don,

there is a -export-fixes option that will serialize the diagnostics and fixits into yaml (machine readable, but same content).
Otherwise you would need to capture the logs, e.g. using tee and piping in linux for interactive clang-tidy usage.

Yes, I’m referring to the file generated via the -export-fixes option. Thanks for the suggestion, but I’d
like to be able to examine a random export file at some later point, in particular, after the results of
run-clang-tidy.py has merged them. My assumption is that there isn’t such a tool, but wanted to check
before writing one.

thanks…
don