diff options
| author | Nicolas Schier <nsc@kernel.org> | 2025-12-17 20:13:43 +0100 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2025-12-27 20:48:01 +0100 |
| commit | 07fe35b766a6fcd4ec8214e5066b7b0056b6ec6a (patch) | |
| tree | 368a5491ba2288f1f3baffa3f7446f1c0284449d /include/linux/net | |
| parent | 9448598b22c50c8a5bb77a9103e2d49f134c9578 (diff) | |
Revert "scripts/clang-tools: Handle included .c files in gen_compile_commands"
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.
For properly supporting clangd, including .c files is discouraged.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Closes: https://lore.kernel.org/r/CACT4Y+Z8aCz0XcoJx9XXPHZSZHxGF8Kx9iUbFarhpTSEPDhMfg@mail.gmail.com
Acked-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Fixes: 9362d34acf91 ("scripts/clang-tools: Handle included .c files in gen_compile_commands")
Link: https://patch.msgid.link/20251217-revert-scripts-clang-rools-handle-included-c-files-v1-1-def5651446da@kernel.org
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'include/linux/net')
0 files changed, 0 insertions, 0 deletions
