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§
- Clang
Versions - A struct to contain the version numbers of the clang-tools used
- Review
Comments - A struct to describe the Pull Request review suggestions.
- Suggestion
- A struct to describe a single suggestion in a pull_request review.
Traits§
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"
) andversion
. - make_
patch