Warning, /graphics/okular/_clang-format is written in an unsupported language. File is not indexed.
0001 --- 0002 # SPDX-License-Identifier: MIT 0003 # 0004 # SPDX-FileCopyrightText: 2019 Christoph Cullmann <cullmann@kde.org> 0005 # SPDX-FileCopyrightText: 2019 Gernot Gebhard <gebhard@absint.com> 0006 0007 0008 # Style for C++ 0009 Language: Cpp 0010 0011 # base is WebKit coding style: https://webkit.org/code-style-guidelines/ 0012 # below are only things set that diverge from this style! 0013 BasedOnStyle: WebKit 0014 0015 # enforce C++11 (e.g. for std::vector<std::vector<lala>> 0016 Standard: Cpp11 0017 0018 # 4 spaces indent 0019 TabWidth: 4 0020 0021 # 3 * 80 wide lines 0022 ColumnLimit: 240 0023 0024 # sort includes inside line separated groups 0025 SortIncludes: true 0026 0027 # break before braces on function, namespace and class definitions. 0028 BreakBeforeBraces: Linux 0029 0030 # CrlInstruction *a; 0031 PointerAlignment: Right 0032 0033 # horizontally aligns arguments after an open bracket. 0034 AlignAfterOpenBracket: Align 0035 0036 # align trailing comments 0037 AlignTrailingComments: true 0038 0039 # don't move all parameters to new line 0040 AllowAllParametersOfDeclarationOnNextLine: false 0041 0042 # no single line functions 0043 AllowShortFunctionsOnASingleLine: None 0044 0045 # always break before you encounter multi line strings 0046 AlwaysBreakBeforeMultilineStrings: true 0047 0048 # don't move arguments to own lines if they are not all on the same 0049 BinPackArguments: false 0050 0051 # don't move parameters to own lines if they are not all on the same 0052 BinPackParameters: false 0053 0054 # don't break binary ops 0055 BreakBeforeBinaryOperators: None 0056 0057 # format C++11 braced lists like function calls 0058 Cpp11BracedListStyle: true 0059 0060 # remove empty lines 0061 KeepEmptyLinesAtTheStartOfBlocks: false 0062 0063 # no namespace indentation to keep indent level low 0064 NamespaceIndentation: None 0065 0066 # we use template< without space. 0067 SpaceAfterTemplateKeyword: false 0068 0069 # macros for which the opening brace stays attached. 0070 ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]