summaryrefslogtreecommitdiff
path: root/Documentation/coding-style.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-21 19:47:05 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-22 14:30:00 +0200
commit9958387034a86c171beda8b20a5f7d94f99fb783 (patch)
treea47b5d15080d63b33d6477cdcdf95c234f2397e8 /Documentation/coding-style.rst
parente410062003cd26930243ff067a723d1752dfd8d7 (diff)
libcamera: Add clang-format style
The initial clang-format options are copied from the Linux kernel style, with the following differences: - Use C++11 - Remove the line length limit (to keep the original line breaks) - Don't indent access modifiers - Allow short inline functions on a single line - Move braces to next line after class definition - Keep braces on the line of the namespace definition - Replace for-each macros Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions