diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-21 18:45:48 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-22 14:30:00 +0200 |
commit | 1369c0b7c3d6b195badd0312a675d68506e51b2e (patch) | |
tree | 163c0273816efe0ddcc5d6dd7f70416daad34765 /src/cam | |
parent | 9958387034a86c171beda8b20a5f7d94f99fb783 (diff) |
utils: checkstyle: Add support for clang-format
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>
Diffstat (limited to 'src/cam')
0 files changed, 0 insertions, 0 deletions