Searched hist:"5 ee8a94e4fc95bd6945ac5176072af1eb7dfb1d2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/libpldm/ |
H A D | .clang-tidy | 5ee8a94e4fc95bd6945ac5176072af1eb7dfb1d2 Tue Apr 04 21:00:36 CDT 2023 Andrew Jeffery <andrew@aj.id.au> Add clang-tidy file
I've customised this from the usual C++-oriented .clang-tidy file to work with the C codebase of libpldm. I've had to drop some desirable checks (such as `readability-identifier-naming`) as we have C++ for the tests and it would be nice to remain idiomatic there. It turns out clang-tidy has configuration to control what file extensions get analysed, however it's difficult to justify enabling it when e.g. Fedora 37 only ships clang-15 which does not contain support for this option.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I0bb01c82b27265873b9049402633672a4ad94e8a
|