xref: /isa-l_crypto/.clang-format (revision dcb32c4b921d3e13f66c80b6ea64cb957fd8e989)
1*dcb32c4bSMarcel Cornu# Copyright (c) 2024, Intel Corporation
2*dcb32c4bSMarcel Cornu#
3*dcb32c4bSMarcel Cornu# Redistribution and use in source and binary forms, with or without
4*dcb32c4bSMarcel Cornu# modification, are permitted provided that the following conditions are met:
5*dcb32c4bSMarcel Cornu#
6*dcb32c4bSMarcel Cornu#     * Redistributions of source code must retain the above copyright notice,
7*dcb32c4bSMarcel Cornu#       this list of conditions and the following disclaimer.
8*dcb32c4bSMarcel Cornu#     * Redistributions in binary form must reproduce the above copyright
9*dcb32c4bSMarcel Cornu#       notice, this list of conditions and the following disclaimer in the
10*dcb32c4bSMarcel Cornu#       documentation and/or other materials provided with the distribution.
11*dcb32c4bSMarcel Cornu#     * Neither the name of Intel Corporation nor the names of its contributors
12*dcb32c4bSMarcel Cornu#       may be used to endorse or promote products derived from this software
13*dcb32c4bSMarcel Cornu#       without specific prior written permission.
14*dcb32c4bSMarcel Cornu#
15*dcb32c4bSMarcel Cornu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16*dcb32c4bSMarcel Cornu# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*dcb32c4bSMarcel Cornu# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18*dcb32c4bSMarcel Cornu# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
19*dcb32c4bSMarcel Cornu# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*dcb32c4bSMarcel Cornu# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21*dcb32c4bSMarcel Cornu# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22*dcb32c4bSMarcel Cornu# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23*dcb32c4bSMarcel Cornu# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24*dcb32c4bSMarcel Cornu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*dcb32c4bSMarcel Cornu
26*dcb32c4bSMarcel CornuBasedOnStyle: LLVM
27*dcb32c4bSMarcel CornuIndentWidth: 8
28*dcb32c4bSMarcel CornuLanguage: Cpp
29*dcb32c4bSMarcel CornuBreakBeforeBraces: Linux
30*dcb32c4bSMarcel CornuAllowShortIfStatementsOnASingleLine: false
31*dcb32c4bSMarcel CornuIndentCaseLabels: false
32*dcb32c4bSMarcel CornuUseTab: Never
33*dcb32c4bSMarcel CornuAlignConsecutiveMacros: true
34*dcb32c4bSMarcel CornuAlignTrailingComments: true
35*dcb32c4bSMarcel CornuAlwaysBreakAfterReturnType: All
36*dcb32c4bSMarcel CornuSortIncludes: false
37*dcb32c4bSMarcel CornuBreakBeforeInheritanceComma: true
38*dcb32c4bSMarcel CornuAllowAllParametersOfDeclarationOnNextLine: false
39*dcb32c4bSMarcel CornuBinPackParameters: true
40*dcb32c4bSMarcel CornuBinPackArguments: true
41*dcb32c4bSMarcel CornuReflowComments: true
42*dcb32c4bSMarcel CornuColumnLimit: 100
43*dcb32c4bSMarcel CornuCpp11BracedListStyle: false
44*dcb32c4bSMarcel CornuMaxEmptyLinesToKeep: 1
45*dcb32c4bSMarcel CornuContinuationIndentWidth: 8
46*dcb32c4bSMarcel CornuSpaceAfterCStyleCast: true
47