110d565efSmrg# Copyright (C) 2015 Free Software Foundation, Inc. 210d565efSmrg# 310d565efSmrg# This program is free software; you can redistribute it and/or modify 410d565efSmrg# it under the terms of the GNU General Public License as published by 510d565efSmrg# the Free Software Foundation; either version 3 of the License, or 610d565efSmrg# (at your option) any later version. 710d565efSmrg# 810d565efSmrg# This program is distributed in the hope that it will be useful, 910d565efSmrg# but WITHOUT ANY WARRANTY; without even the implied warranty of 1010d565efSmrg# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1110d565efSmrg# GNU General Public License for more details. 1210d565efSmrg# 1310d565efSmrg# You should have received a copy of the GNU General Public License 1410d565efSmrg# along with this program. If not, see <http://www.gnu.org/licenses/>. 1510d565efSmrg 16*ec02198aSmrg# clang-format 7.0.1 is required 1710d565efSmrg# 1810d565efSmrg# To utilize the tool to lines just touched by a patch, use 19*ec02198aSmrg# clang-format-diff script that is usually also packaged with clang-format. 20*ec02198aSmrg# 21*ec02198aSmrg# Example of usage: 22*ec02198aSmrg# git diff -U0 --no-color | clang-format-diff -p1 23*ec02198aSmrg# (here the tool will generate a patch) 24*ec02198aSmrg# git diff -U0 --no-color | clang-format-diff -p1 -i 25*ec02198aSmrg# (modifications are applied) 2610d565efSmrg 2710d565efSmrg--- 2810d565efSmrgLanguage: Cpp 2910d565efSmrgAccessModifierOffset: -2 30*ec02198aSmrgAlwaysBreakAfterReturnType: TopLevel 3110d565efSmrgBinPackArguments: true 3210d565efSmrgBinPackParameters: true 3310d565efSmrgBraceWrapping: 3410d565efSmrg AfterClass: true 3510d565efSmrg AfterControlStatement: true 3610d565efSmrg AfterEnum: true 3710d565efSmrg AfterFunction: true 3810d565efSmrg AfterNamespace: false 3910d565efSmrg AfterObjCDeclaration: true 4010d565efSmrg AfterStruct: true 4110d565efSmrg AfterUnion: true 4210d565efSmrg BeforeCatch: true 4310d565efSmrg BeforeElse: true 4410d565efSmrg IndentBraces: true 45*ec02198aSmrg SplitEmptyFunction: false 4610d565efSmrgBreakBeforeBinaryOperators: All 4710d565efSmrgBreakBeforeBraces: Custom 4810d565efSmrgBreakBeforeTernaryOperators: true 4910d565efSmrgColumnLimit: 80 5010d565efSmrgConstructorInitializerIndentWidth: 2 5110d565efSmrgContinuationIndentWidth: 2 5210d565efSmrgForEachMacros: [ 5310d565efSmrg'FOR_ALL_BB_FN', 5410d565efSmrg'FOR_ALL_EH_REGION', 5510d565efSmrg'FOR_ALL_EH_REGION_AT', 5610d565efSmrg'FOR_ALL_EH_REGION_FN', 5710d565efSmrg'FOR_ALL_INHERITED_FIELDS', 5810d565efSmrg'FOR_ALL_PREDICATES', 5910d565efSmrg'FOR_BB_BETWEEN', 6010d565efSmrg'FOR_BB_INSNS', 6110d565efSmrg'FOR_BB_INSNS_REVERSE', 6210d565efSmrg'FOR_BB_INSNS_REVERSE_SAFE', 6310d565efSmrg'FOR_BB_INSNS_SAFE', 6410d565efSmrg'FOR_BODY', 6510d565efSmrg'FOR_COND', 6610d565efSmrg'FOR_EACH_AGGR_INIT_EXPR_ARG', 6710d565efSmrg'FOR_EACH_ALIAS', 6810d565efSmrg'FOR_EACH_ALLOCNO', 6910d565efSmrg'FOR_EACH_ALLOCNO_OBJECT', 7010d565efSmrg'FOR_EACH_ARTIFICIAL_DEF', 7110d565efSmrg'FOR_EACH_ARTIFICIAL_USE', 7210d565efSmrg'FOR_EACH_BB_FN', 7310d565efSmrg'FOR_EACH_BB_REVERSE_FN', 7410d565efSmrg'FOR_EACH_BIT_IN_MINMAX_SET', 7510d565efSmrg'FOR_EACH_CALL_EXPR_ARG', 7610d565efSmrg'FOR_EACH_CLONE', 7710d565efSmrg'FOR_EACH_CONST_CALL_EXPR_ARG', 7810d565efSmrg'FOR_EACH_CONSTRUCTOR_ELT', 7910d565efSmrg'FOR_EACH_CONSTRUCTOR_VALUE', 8010d565efSmrg'FOR_EACH_COPY', 8110d565efSmrg'FOR_EACH_DEF', 8210d565efSmrg'FOR_EACH_DEFINED_FUNCTION', 8310d565efSmrg'FOR_EACH_DEFINED_SYMBOL', 8410d565efSmrg'FOR_EACH_DEFINED_VARIABLE', 8510d565efSmrg'FOR_EACH_DEP', 8610d565efSmrg'FOR_EACH_EDGE', 8710d565efSmrg'FOR_EACH_EXPR', 8810d565efSmrg'FOR_EACH_EXPR_1', 8910d565efSmrg'FOR_EACH_FUNCTION', 9010d565efSmrg'FOREACH_FUNCTION_ARGS', 9110d565efSmrg'FOREACH_FUNCTION_ARGS_PTR', 9210d565efSmrg'FOR_EACH_FUNCTION_WITH_GIMPLE_BODY', 9310d565efSmrg'FOR_EACH_HASH_TABLE_ELEMENT', 9410d565efSmrg'FOR_EACH_IMM_USE_FAST', 9510d565efSmrg'FOR_EACH_IMM_USE_ON_STMT', 9610d565efSmrg'FOR_EACH_IMM_USE_STMT', 9710d565efSmrg'FOR_EACH_INSN', 9810d565efSmrg'FOR_EACH_INSN_1', 9910d565efSmrg'FOR_EACH_INSN_DEF', 10010d565efSmrg'FOR_EACH_INSN_EQ_USE', 10110d565efSmrg'FOR_EACH_INSN_INFO_DEF', 10210d565efSmrg'FOR_EACH_INSN_INFO_EQ_USE', 10310d565efSmrg'FOR_EACH_INSN_INFO_MW', 10410d565efSmrg'FOR_EACH_INSN_INFO_USE', 10510d565efSmrg'FOR_EACH_INSN_USE', 10610d565efSmrg'FOR_EACH_LOCAL_DECL', 10710d565efSmrg'FOR_EACH_LOOP', 10810d565efSmrg'FOR_EACH_LOOP_FN', 10910d565efSmrg'FOR_EACH_OBJECT', 11010d565efSmrg'FOR_EACH_OBJECT_CONFLICT', 11110d565efSmrg'FOR_EACH_PHI_ARG', 11210d565efSmrg'FOR_EACH_PHI_OR_STMT_DEF', 11310d565efSmrg'FOR_EACH_PHI_OR_STMT_USE', 11410d565efSmrg'FOR_EACH_PREF', 11510d565efSmrg'FOR_EACH_SCALAR', 11610d565efSmrg'FOR_EACH_SSA_DEF_OPERAND', 11710d565efSmrg'FOR_EACH_SSA_TREE_OPERAND', 11810d565efSmrg'FOR_EACH_SSA_USE_OPERAND', 11910d565efSmrg'FOR_EACH_STATIC_INITIALIZER', 12010d565efSmrg'FOR_EACH_SUBRTX', 12110d565efSmrg'FOR_EACH_SUBRTX_PTR', 12210d565efSmrg'FOR_EACH_SUBRTX_VAR', 12310d565efSmrg'FOR_EACH_SUCC', 12410d565efSmrg'FOR_EACH_SUCC_1', 12510d565efSmrg'FOR_EACH_SYMBOL', 12610d565efSmrg'FOR_EACH_VARIABLE', 12710d565efSmrg'FOR_EACH_VEC_ELT', 12810d565efSmrg'FOR_EACH_VEC_ELT_FROM', 12910d565efSmrg'FOR_EACH_VEC_ELT_REVERSE', 13010d565efSmrg'FOR_EACH_VEC_SAFE_ELT', 13110d565efSmrg'FOR_EACH_VEC_SAFE_ELT_REVERSE', 13210d565efSmrg'FOR_EXPR', 13310d565efSmrg'FOR_INIT_STMT', 13410d565efSmrg'FOR_SCOPE' 13510d565efSmrg] 13610d565efSmrgIndentCaseLabels: false 13710d565efSmrgNamespaceIndentation: None 13810d565efSmrgPenaltyBreakBeforeFirstCallParameter: 100 13910d565efSmrgPointerAlignment: Right 14010d565efSmrgSortIncludes: false 14110d565efSmrgSpaceAfterCStyleCast: true 14210d565efSmrgSpaceBeforeParens: Always 14310d565efSmrgSpacesBeforeTrailingComments: 1 14410d565efSmrgUseTab: Always 145*ec02198aSmrgAlignEscapedNewlines: Right 146*ec02198aSmrgAlignTrailingComments: true 147*ec02198aSmrgAllowShortFunctionsOnASingleLine: All 148*ec02198aSmrgAlwaysBreakTemplateDeclarations: MultiLine 149*ec02198aSmrgKeepEmptyLinesAtTheStartOfBlocks: false 150*ec02198aSmrgStandard: Cpp03 151