gitignore: Add compile_commands.json

The purpose of this change is to make sure no one would accidentally
include their own workspace leftover into a commit.

compile_commands.json is a generated file which contains build commands.
The file is consumed by Language Servers such as clangd and ccls.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D26514
This commit is contained in:
Ka Ho Ng 2021-06-04 16:04:04 +08:00
parent 6815008894
commit 73570795e7

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ cscope.files
cscope.in.out
cscope.out
cscope.po.out
compile_commands.json