Clang is a production C compiler (part of LLVM) that provides APIs for
C code parsing, formatting, custom compiler warnings, static analysis, etc. This framework has spawned widely used tools like clang-format and clang-tidy. These tools can be easily tailored for particular codebases like the Linux kernel.
This talk shows how to run clang-format, clang-tidy (including writing custom checks), and scan-build to help everyday Linux kernel development, using the kernel support we landed.
Furthermore, we will seek feedback on how we can incorporate these
tools into wider kernel dev/CI workflows, as well as what kinds of
static analyses we should seek to develop in the future.
|I agree to abide by the anti-harassment policy||I agree|