[libcamera-devel] [PATCH] clang-format: Don't indent namespaces

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Sep 16 22:14:35 CEST 2019


Our coding style don't indent namespace contents. Update .clang-format
accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 .clang-format | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.clang-format b/.clang-format
index 7c5f7b00b3ee..0f4d2b52e848 100644
--- a/.clang-format
+++ b/.clang-format
@@ -80,7 +80,7 @@ KeepEmptyLinesAtTheStartOfBlocks: false
 MacroBlockBegin: ''
 MacroBlockEnd: ''
 MaxEmptyLinesToKeep: 1
-NamespaceIndentation: Inner
+NamespaceIndentation: None
 #ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0
 ObjCBlockIndentWidth: 8
 ObjCSpaceAfterProperty: true
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list