Module clang_tidy

Source
Expand description

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

Structs§

CompilationUnit
Used to deserialize a json compilation database’s translation unit.
TidyAdvice
A struct to hold notification from clang-tidy about a single file
TidyNotification
A structure that represents a single notification parsed from clang-tidy’s stdout.

Functions§

run_clang_tidy
Run clang-tidy, then parse and return it’s output.
tally_tidy_advice
Get a total count of clang-tidy advice from the given list of FileObjs.