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:
Stephan Bergmann 2022-11-06 11:59:47 +01:00
parent 64f42fe944
commit f3133b803b

View file

@ -46,3 +46,5 @@ SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 4
SortIncludes: false
SortUsingDeclarations: false
# clang-format 8:
# StatementMacros: [SAL_WNODEPRECATED_DECLARATIONS_POP, SAL_WNODEPRECATED_DECLARATIONS_PUSH]