From e85db50f9b9679f9415d1689551791baefb439fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 28 Mar 2023 12:12:27 -0400 Subject: Update to clang-format 12 --- .clang-format | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 4ff6f72e..caf02057 100644 --- a/.clang-format +++ b/.clang-format @@ -1,4 +1,4 @@ -# Copyright 2020-2021 David Robillard +# Copyright 2020-2023 David Robillard # SPDX-License-Identifier: 0BSD OR ISC --- @@ -21,8 +21,18 @@ IndentCaseLabels: false IndentPPDirectives: AfterHash KeepEmptyLinesAtTheStartOfBlocks: false SpacesInContainerLiterals: false -StatementMacros: +AttributeMacros: + - SERD_ALLOCATED - SERD_API + - SERD_CONST_FINC + - SERD_FALLTHROUGH + - SERD_MALLOC_FUNC + - SERD_NODISCARD + - SERD_NONNULL + - SERD_NULLABLE + - SERD_PURE_FUNC +StatementMacros: - SERD_DEPRECATED_BY + - SERD_LOG_FUNC - _Pragma ... -- cgit v1.2.1