summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorToru Komatsu <k0ma@utam0k.jp>2019-07-24 02:22:33 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-27 05:18:19 +0200
commit26c4c71bcd9a9f2baf8334995b31f718854f7f42 (patch)
treefaf3b744e4240caca2b64dabaacb92ffd91ecc6c /.gitignore
parentkbuild: remove unused objectify macro (diff)
downloadlinux-26c4c71bcd9a9f2baf8334995b31f718854f7f42.tar.xz
linux-26c4c71bcd9a9f2baf8334995b31f718854f7f42.zip
.gitignore: Add compilation database file
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> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 3 insertions, 0 deletions
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