.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>
This commit is contained in:
Toru Komatsu 2019-07-24 09:22:33 +09:00 committed by Masahiro Yamada
parent b2eff09218
commit 26c4c71bcd
1 changed files with 3 additions and 0 deletions

3
.gitignore vendored
View File

@ -142,3 +142,6 @@ x509.genkey
# Kdevelop4 # Kdevelop4
*.kdev4 *.kdev4
# Clang's compilation database file
/compile_commands.json