aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
AgeCommit message (Collapse)AuthorFilesLines
2024-09-27Clean up and update clang-format configurationDavid Robillard1-14/+16
Fix "SERD_CONST_FINC" typo, add the other function attributes, and sort all fields.
2024-01-09Avoid regressions in clang nullability checksDavid Robillard1-0/+2
Clang 15 (and still as of 16) lost the ability to understand null checks in conditionals, which is supposed to suppress these warnings. For now, work around some, and suppress others. The suppression boilerplate here is noisy and ugly, and hopefully temporary. It should be removed once the issue is fixed in clang. See https://github.com/llvm/llvm-project/issues/63018
2023-04-05Update to clang-format 12David Robillard1-2/+12
2022-09-08Use 0BSD for trivial "public domain intent" thingsDavid Robillard1-1/+1
Fedora takes issue with CC0. Although it doesn't really matter for this stuff (dual licensed anyway, questionably "software", certainly not patentable, and so on), this is simpler and more consistent with the ISC license used for the actual software anyway.
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-0/+3
2021-06-30Fix clang-format configuration for pragmasDavid Robillard1-0/+1
2020-12-31Format all code with clang-formatDavid Robillard1-0/+24