Module clang_format

Source
Expand description

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

Structs§

FormatAdvice
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.