File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,7 @@ clang-format
705705 multi-line comments without touching their contents, renames ``false `` to
706706 ``Never ``, and ``true `` to ``Always ``.
707707- Adds ``RemoveEmptyLinesInUnwrappedLines `` option.
708- - Adds ``KeepFormFeed `` option.
708+ - Adds ``KeepFormFeed `` option and set it to `` true `` for `` GNU `` style .
709709
710710libclang
711711--------
Original file line number Diff line number Diff line change @@ -1929,6 +1929,7 @@ FormatStyle getGNUStyle() {
19291929 Style.ColumnLimit = 79 ;
19301930 Style.Cpp11BracedListStyle = false ;
19311931 Style.FixNamespaceComments = false ;
1932+ Style.KeepFormFeed = true ;
19321933 Style.SpaceBeforeParens = FormatStyle::SBPO_Always;
19331934 return Style;
19341935}
You can’t perform that action at this time.
0 commit comments