summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorToru Komatsu <k0ma@utam0k.jp>2019-07-24 03:22:33 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-27 06:18:19 +0300
commit26c4c71bcd9a9f2baf8334995b31f718854f7f42 (patch)
treefaf3b744e4240caca2b64dabaacb92ffd91ecc6c /.gitignore
parentb2eff0921805935132bc308d3c769ef2efb321ad (diff)
downloadlinux-26c4c71bcd9a9f2baf8334995b31f718854f7f42.tar.xz
.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