[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdk6ENe-K3V67rt26L8HOn7xMpueBwZgg=+r5LM4XrN6PA@mail.gmail.com>
Date: Thu, 25 Jul 2019 20:56:17 -0700
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Toru Komatsu <k0ma@...m0k.jp>
Cc: LKML <linux-kernel@...r.kernel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH v2] .gitignore: Add compilation database file
On Tue, Jul 23, 2019 at 5:22 PM Toru Komatsu <k0ma@...m0k.jp> wrote:
>
> This file is used by clangd to use language server protocol.
> It can be generated at each compile using scripts/gen_compile_commands.py.
> Therefore it is different depending on the environment and should be
> ignored.
>
> Signed-off-by: Toru Komatsu <k0ma@...m0k.jp>
Thank you again for this patch. We're working on adding clang-tidy
checks for the Linux kernel, which will make use of this file soon.
Keep yours eyes out for it!
https://reviews.llvm.org/D59963
Reviewed-by: Nick Desaulniers <ndesaulniers@...gle.com>
> ---
> .gitignore | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index 8f5422cba6e2..2030c7a4d2f8 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -142,3 +142,6 @@ x509.genkey
>
> # Kdevelop4
> *.kdev4
> +
> +# Clang's compilation database file
> +/compile_commands.json
> --
> 2.17.1
>
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists