Skip to main content

Crate cuno_tools

Crate cuno_tools 

Source
Expand description

cuno fmt and cuno lint (clang-format / clang-tidy).

See docs/en/specs/dev-tools.md.

Modules§

format
clang-format’s configuration from [fmt] (docs/en/specs/dev-tools.md, “[fmt]”).
tidy
clang-tidy’s configuration from [lint] (docs/en/specs/dev-tools.md, “[lint]”).

Enums§

EditorFileWarning
Why an editor file was left as it was.

Functions§

write_editor_files
Writes the files editors read so they format and analyse as cuno does, at the project root: .clang-format from [fmt] and .clang-tidy from [lint]. Only a file cuno wrote, which starts with its marker, is overwritten, and only when its content changes; a file the user wrote, a link or a directory is left and warned about (docs/en/specs/dev-tools.md, “Configuration”).