linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Toru Komatsu <k0ma@utam0k.jp>
To: linux-kernel@vger.kernel.org
Cc: yamada.masahiro@socionext.com,
	clang-built-linux@googlegroups.com, Toru Komatsu <k0ma@utam0k.jp>
Subject: [PATCH] .gitignore: Add compilation database files
Date: Sun, 21 Jul 2019 17:54:09 +0900	[thread overview]
Message-ID: <20190721085409.24499-1-k0ma@utam0k.jp> (raw)

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@utam0k.jp>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 8f5422cba6e2..025d887f64f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -142,3 +142,6 @@ x509.genkey
 
 # Kdevelop4
 *.kdev4
+
+# Clang's compilation database files
+/compile_commands.json
-- 
2.17.1


             reply	other threads:[~2019-07-21  8:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-21  8:54 Toru Komatsu [this message]
2019-07-22 19:25 ` [PATCH] .gitignore: Add compilation database files Nick Desaulniers
2019-07-23 15:33 ` Masahiro Yamada
2019-07-23 16:28   ` Toru Komatsu
2019-07-23 16:36     ` Masahiro Yamada
2019-07-23 19:46     ` Nick Desaulniers

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=20190721085409.24499-1-k0ma@utam0k.jp \
    --to=k0ma@utam0k.jp \
    --cc=clang-built-linux@googlegroups.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yamada.masahiro@socionext.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;
as well as URLs for NNTP newsgroup(s).