Expand description
This module holds functionality specific to running clang-format and parsing it’s output.
Structs§
- Format
Advice - A Structure used to deserialize clang-format’s XML output.
- Replacement
- A single replacement that clang-format wants to make.
Functions§
- run_
clang_ format - Run clang-tidy for a specific
file
, then parse and return it’s XML output. - summarize_
style - Get a string that summarizes the given
--style
- tally_
format_ advice - Get a total count of clang-format advice from the given list of FileObjs.