diff options
author | Pavel Kotucek <pavel.kotucek@pantheon.tech> | 2019-04-29 15:58:24 +0200 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2019-05-15 00:40:40 +0000 |
commit | 6f6ea23e7114520fe25245effd4120294841f3a2 (patch) | |
tree | 7de83ff92c0dc9df0cf39e397ea28c7997b9c215 /.clang-format | |
parent | 28bb25aee9898b50468233e896aab018e68bf787 (diff) |
Docker build improvements
Added small changes to create dev docker image.
Fixed checkstyle.
Change-Id: I0ea1a0bad114578903073526fa12b84702072e3a
Signed-off-by: Pavel Kotucek <pavel.kotucek@pantheon.tech>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..977ed2d --- /dev/null +++ b/.clang-format @@ -0,0 +1,38 @@ +--- +AlignEscapedNewlinesLeft: true +AlignTrailingComments: true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AlwaysBreakBeforeMultilineStrings: false +BreakBeforeBinaryOperators: false +BreakBeforeTernaryOperators: true +BinPackParameters: true +BreakBeforeBraces: GNU +ColumnLimit: 79 +IndentCaseLabels: false +MaxEmptyLinesToKeep: 1 +PenaltyBreakBeforeFirstCallParameter: 19 +PenaltyBreakComment: 60 +PenaltyBreakString: 1000 +PenaltyBreakFirstLessLess: 120 +PenaltyExcessCharacter: 1000000 +PenaltyReturnTypeOnItsOwnLine: 60 +PointerBindsToType: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: Always +SpacesBeforeTrailingComments: 1 +SpacesInParentheses: false +SpaceInEmptyParentheses: false +SpacesInCStyleCastParentheses: false +SpaceAfterControlStatementKeyword: true +Cpp11BracedListStyle: true +Standard: Cpp11 +SortIncludes: false +IndentWidth: 2 +TabWidth: 4 +UseTab: Never +IndentFunctionDeclarationAfterType: false +ContinuationIndentWidth: 4 +... |