pnoltes commented on code in PR #544:
URL: https://github.com/apache/celix/pull/544#discussion_r1200964643


##########
.clang-format:
##########
@@ -0,0 +1,27 @@
+BasedOnStyle: LLVM
+IndentWidth: 4
+AllowShortIfStatementsOnASingleLine: false
+AlwaysBreakTemplateDeclarations: Yes
+BinPackArguments: false
+BinPackParameters: false
+BreakBeforeBraces: Attach
+ColumnLimit: 120
+ConstructorInitializerIndentWidth: 4
+Cpp11BracedListStyle: true
+DerivePointerAlignment: false
+IncludeBlocks: Regroup

Review Comment:
   clang-format does take into account. So when you run formatting over a 
`foo.c` source file and there is a include of `foo.h` this will be included 
first. 
   
   This should even be extendable with the `IncludeIsMainRegex` option, but I 
could not get that to work. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to