diff options
author | David Robillard <d@drobilla.net> | 2023-03-28 12:12:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-05 09:45:15 -0400 |
commit | e85db50f9b9679f9415d1689551791baefb439fd (patch) | |
tree | 891c56b8426c149045ce2f2b03373b51e41ef425 /.clang-format | |
parent | 5ae3a6a45cdc8534e2d041db0af7948ae8280796 (diff) | |
download | serd-e85db50f9b9679f9415d1689551791baefb439fd.tar.gz serd-e85db50f9b9679f9415d1689551791baefb439fd.tar.bz2 serd-e85db50f9b9679f9415d1689551791baefb439fd.zip |
Update to clang-format 12
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 14 |
1 files changed, 12 insertions, 2 deletions
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 <d@drobilla.net> +# Copyright 2020-2023 David Robillard <d@drobilla.net> # 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 ... |