lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Enable clang tools for kernels build using gcc
Date
This patch set makes it possible to use clang based tools, such as
the clangd completion engine, regardless of our choice of compiler
for the actual kernel build.

Most of the fine details are included in the patch header for the
first patch (since we'd like them to appear in the kernel history so
they can help future archaeologists).

Daniel Thompson (2):
clang-tools: Generate clang compatible output even with gcc builds
Makefile: Enable clang-tidy and clang-analyzer for gcc builds

Makefile | 11 ++--
scripts/clang-tools/gen_compile_commands.py | 71 ++++++++++++++++++++-
2 files changed, 74 insertions(+), 8 deletions(-)


base-commit: a111daf0c53ae91e71fd2bfe7497862d14132e3e
--
2.35.1

\
 
 \ /
  Last update: 2022-06-28 14:28    [W:2.262 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site