Module clang_tools

Source
Expand description

This crate holds the functionality related to running clang-format and/or clang-tidy.

Modules§

clang_format
This module holds functionality specific to running clang-format and parsing it’s output.
clang_tidy
This module holds functionality specific to running clang-tidy and parsing it’s output.

Structs§

ClangVersions
A struct to contain the version numbers of the clang-tools used
ReviewComments
A struct to describe the Pull Request review suggestions.
Suggestion
A struct to describe a single suggestion in a pull_request review.

Traits§

MakeSuggestions

Functions§

capture_clang_tools_output
Runs clang-tidy and/or clang-format and returns the parsed output from each.
get_clang_tool_exe
Fetch the path to a clang tool by name (ie "clang-tidy" or "clang-format") and version.
make_patch