cpp_linter::clang_tools

Function capture_clang_tools_output

source
pub async fn capture_clang_tools_output(
    files: &mut Vec<Arc<Mutex<FileObj>>>,
    version: &str,
    clang_params: &mut ClangParams,
) -> Result<()>
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.