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