.gitignore: Add compilation database file
authorToru Komatsu <k0ma@utam0k.jp>
Wed, 24 Jul 2019 00:22:33 +0000 (09:22 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 27 Jul 2019 03:18:19 +0000 (12:18 +0900)
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>
.gitignore

index 8f5422cba6e2b0b687e7f16b2cc1adf1e5bf2cab..2030c7a4d2f8c4d5d3764990c7b4a7b6855bb10b 100644 (file)
@@ -142,3 +142,6 @@ x509.genkey
 
 # Kdevelop4
 *.kdev4
+
+# Clang's compilation database file
+/compile_commands.json