From: Hamdy Abou El Anein <info@daylightlinux.ch>
To: Omer Zalman <omerzalman42@gmail.com>
Cc: Nathan Chancellor <nathan@kernel.org>,
Nicolas Schier <nsc@kernel.org>,
llvm@lists.linux.dev, linux-kbuild@vger.kernel.org
Subject: Re: [RFC] scripts: should run-clang-tools propagate analyzer failures?
Date: Tue, 01 Dec 2026 23:02:17 +0100 [thread overview]
Message-ID: <E1xYVvV-004kDq-0N@raspberrypi.home> (raw)
In-Reply-To: <CAGLNFZetqY9WOioph=1U4Ek-KaSm_ZzNrUo-r1QjT-8tbhWodA@mail.gmail.com>
Hi Omer,
I independently encountered the same issue in run-clang-tools.py
while reviewing Linux v7.4-rc5 and subsequently found your RFC.
I have prepared a small fix with AI assistance that propagates a
nonzero exit status from the clang-tidy workers to the caller,
while still running all workers and preserving their diagnostics.
I reproduced the issue and tested the fix with clang-tidy 23.1.5,
using small compilation databases in both clang-tidy and
clang-analyzer modes. All ten test scenarios passed. I have not
tested a full kernel compilation database.
Are you still planning to submit a patch for this issue? If not,
and if the maintainers agree that propagating failures is the
intended behavior, I would be happy to submit my implementation
with a Reported-by tag crediting you, subject to your consent.
I wanted to coordinate with you first to avoid duplicating your
work.
Best regards,
Hamdy Abou El Anein
prev parent reply other threads:[~2026-12-01 22:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 23:47 [RFC] scripts: should run-clang-tools propagate analyzer failures? omer zalman
2026-12-01 22:02 ` Hamdy Abou El Anein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1xYVvV-004kDq-0N@raspberrypi.home \
--to=info@daylightlinux.ch \
--cc=linux-kbuild@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=nsc@kernel.org \
--cc=omerzalman42@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox