Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang-tidy: Add option to silence GLib macro warnings
Add a (for now) very simple configuration for clang-tidy that silences warnings about sizeof() expressions from g_clear_{object,pointer} macros. The clang-tidy configuration file is also used by clangd, so this also avoids these false positive diagnostics when using it in an editor with LSP support.
- Loading branch information