Document that .clang-format would benefit from StatementMacros
(see the commit message of 4280a32579
"-Werror,-Wdeprecated-declarations (sprintf, macOS 13 SDK): tools" about the
recent need of some "clang-format off" in tools/source/misc/json_writer.cxx), in
case we would ever bump our clang-format version
Change-Id: I4ee9385f84db415903790332c81161c5dbc7614f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142350
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
64f42fe944
commit
f3133b803b
1 changed files with 2 additions and 0 deletions
|
@ -46,3 +46,5 @@ SpaceBeforeAssignmentOperators: true
|
|||
ContinuationIndentWidth: 4
|
||||
SortIncludes: false
|
||||
SortUsingDeclarations: false
|
||||
# clang-format 8:
|
||||
# StatementMacros: [SAL_WNODEPRECATED_DECLARATIONS_POP, SAL_WNODEPRECATED_DECLARATIONS_PUSH]
|
||||
|
|
Loading…
Reference in a new issue