Skip to content
Snippets Groups Projects
  1. Jul 30, 2024
  2. Jun 04, 2024
  3. May 13, 2024
    • Oto Šťáva's avatar
      Silence Clang-Tidy · c1bdcd06
      Oto Šťáva authored
      This commit makes lots of changes to the C code to appease the
      Clang-Tidy linter. Some of the less obvious ones are due to C's weird
      semantics regarding handling of numeric literals.
      
      We also disable a bunch of the detections because they are
      super-pedantic, arguably useless, or we have our own unwritten coding
      style rules that solve the issues.
      Verified
      c1bdcd06
  4. Mar 12, 2019
  5. Jan 12, 2018
    • Marek Vavruša's avatar
      lint: enabled several readability linters and fixed issues · 8b5b7109
      Marek Vavruša authored
      this checks things such as inconsistent declarations and definitions
      8b5b7109
    • Marek Vavruša's avatar
      build: support `make lint-c` with clang-tidy · ad213c47
      Marek Vavruša authored
      This supports linting of C code using clang-tidy to fix common
      security and code quality issues early in the development workflow.
      The benefit is that less time has to be spent in code reviews to
      point out obvious problems, and ideally when the outstanding issues
      are fixed, clang-tidy (and clang-format) can also be used to to
      automatically fix basic problems and enforce common code style,
      similarly to `go vet && go fmt` workflow.
      ad213c47