.gitignore: add compile_commands.json

compile_commands.json is a format of compilation database info for use
with several editors, such as VSCode (with official C++ extension) and
Vim (with youcompleteme). It can be generated with ninja:
```
ninja -t compdb > compile_commands.json
```

I propose this addition, so that this file won't be commited by
accident.

Closes #9279
This commit is contained in:
Michał Radwański
2021-09-02 10:50:20 +02:00
committed by Avi Kivity
parent f8fe043b94
commit 9a1e82bb92

1
.gitignore vendored
View File

@@ -27,3 +27,4 @@ test/*/*.reject
.vscode
docs/_build
docs/poetry.lock
compile_commands.json