Continuation of D46504.
$ clang-tidy -enable-check-profile -store-check-profile=. -checks=-*,readability-function-size source.cpp
$ # Note that there won't be timings table printed to the console.
$ cat *.yaml
"timestamp": "2018-05-16 16:13:18.717446360",
There are two arguments that control profile storage:
By default reports are printed in tabulated format to stderr. When this option
is passed, these per-TU profiles are instead stored as YAML.
If the prefix is not an absolute path, it is considered to be relative to the
directory from where you have run :program:`clang-tidy`. All `.` and `..`
patterns in the path are collapsed, and symlinks are resolved.
Let's suppose you have a source file named `example.cpp`, located in
* If you specify `-store-check-profile=/tmp`, then the profile will be saved
* If you run :program:`clang-tidy` from within `/foo` directory, and specify
`-store-check-profile=.`, then the profile will still be saved to