.clang-format
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 06 Oct 2017 14:45:17 +0200
changeset 34856 890afefa7296
parent 34798 e33381d95930
child 36224 d0a3fa849cb8
permissions -rw-r--r--
diff: pass a diff hunks filter function from changeset_printer to patch.diff() We add a 'hunksfilterfn' keyword argument in all functions of the call stack from changeset_printer.show() to patch.diff(). This is a callable that will be used to filter out hunks by line range and will be used in the "-L/--line-range" option of "hg log" command introduced in the following changesets.

BasedOnStyle: LLVM
IndentWidth: 8
UseTab: ForIndentation
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: false