]> git.ipfire.org Git - thirdparty/systemd.git/commit
libsystemd: Skip _sd-common.h include check when __clang_analyzer__ is defined
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 20 Apr 2025 10:25:42 +0000 (12:25 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 23 Apr 2025 09:50:32 +0000 (11:50 +0200)
commit84104ad613c5035ed7d3811d97fbb15362b94f7f
treef6438c63c3828c76cf299c4b5add10628f73e262
parented2506d1d077431713308311bafedfc4170cd19a
libsystemd: Skip _sd-common.h include check when __clang_analyzer__ is defined

This check doesn't work properly when tools such as clang-tidy are
analyzing headers. Since we don't care about the check in that case,
skip it if __clang_analyzer__ is defined similar to how we skip it as
well if __COVERITY__ is defined.
src/systemd/_sd-common.h