aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToru Komatsu2019-07-24 09:22:33 +0900
committerMasahiro Yamada2019-07-27 12:18:19 +0900
commit26c4c71bcd9a9f2baf8334995b31f718854f7f42 (patch)
treefaf3b744e4240caca2b64dabaacb92ffd91ecc6c
parentb2eff0921805935132bc308d3c769ef2efb321ad (diff)
.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>
-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