.clang-format | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f3133b803b0c0eabe4566a9a8589c1459a44cd03
Author: Stephan Bergmann <[email protected]>
AuthorDate: Sun Nov 6 11:59:47 2022 +0100
Commit: Stephan Bergmann <[email protected]>
CommitDate: Sun Nov 6 15:38:07 2022 +0100
Document that .clang-format would benefit from StatementMacros
(see the commit message of 4280a3257948e57cdf194a6e23718b46d907bbd6
"-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 <[email protected]>
diff --git a/.clang-format b/.clang-format
index 16fd8b1263e7..eff3ab612112 100644
--- a/.clang-format
+++ b/.clang-format
@@ -46,3 +46,5 @@ SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 4
SortIncludes: false
SortUsingDeclarations: false
+# clang-format 8:
+# StatementMacros: [SAL_WNODEPRECATED_DECLARATIONS_POP,
SAL_WNODEPRECATED_DECLARATIONS_PUSH]