diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-21 19:47:05 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-22 14:30:00 +0200 |
commit | 9958387034a86c171beda8b20a5f7d94f99fb783 (patch) | |
tree | a47b5d15080d63b33d6477cdcdf95c234f2397e8 /licenses/gnu-lgpl-2.1.txt | |
parent | e410062003cd26930243ff067a723d1752dfd8d7 (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 'licenses/gnu-lgpl-2.1.txt')
0 files changed, 0 insertions, 0 deletions