Re: [PATCH] Revert "scripts/clang-tools: Handle included .c files in gen_compile_commands"

From: Nicolas Schier
Date: Sat Dec 27 2025 - 16:39:31 EST



On Wed, 17 Dec 2025 20:13:43 +0100, Nicolas Schier wrote:
> This reverts commit 9362d34acf91a706c543d919ade3e651b9bd2d6f.
>
> Dmitry Vyukov reported that commit 9362d34acf91 ("scripts/clang-tools:
> Handle included .c files in gen_compile_commands") generates false
> entries in some cases for C files that are included in other C files but
> not meant for standalone compilation.
>
> [...]

Applied to kbuild-fixes, thanks!

[1/1] Revert "scripts/clang-tools: Handle included .c files in gen_compile_commands"
commit: 07fe35b766a6fcd4ec8214e5066b7b0056b6ec6a
https://git.kernel.org/kbuild/c/07fe35b766a6

Best regards,
--
Nicolas