clang-format produces better results than astyle as it can better match the libcamera coding style. Default to clang-format over astyle, fall back to astyle if clang-format isn't found, and add a --formatter command line option to select a formatter manually. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> |
||
---|---|---|
.. | ||
api-html | ||
theme | ||
coding-style.rst | ||
conf.py | ||
contributing.rst | ||
docs.rst | ||
Doxyfile.in | ||
index.rst | ||
meson.build |