pub async fn capture_clang_tools_output(
files: &mut Vec<Arc<Mutex<FileObj>>>,
version: &str,
clang_params: &mut ClangParams,
rest_api_client: &impl RestApiClient,
) -> Result<ClangVersions>
Expand description
Runs clang-tidy and/or clang-format and returns the parsed output from each.
If tidy_checks
is "-*"
then clang-tidy is not executed.
If style
is a blank string (""
), then clang-format is not executed.