[riot-notifications] [RIOT-OS/RIOT] gitignore: add clangd compile flags (#11937)

Bas Stottelaar notifications at github.com
Tue Jul 30 23:49:02 CEST 2019

### Contribution description
This PR modifies `.gitignore` to add ignores for `compile_commands.json` and `compile_flags.txt`.

These files are used by [Clangd](https://clang.llvm.org/extra/clangd/) language server. They contain the compilation flags, and Clangd uses them to provide project-aware autocompletion and linting.

The file can exist in any parent folder, but generally exists in the root of RIOT-OS. While it's not the best/easiest/fool-proof setup, I find it very useful (here is my [compile-flags.txt](https://gist.github.com/basilfx/9ea37dc119c873b33f7737f9bf79fbb3)). I guess that it would even be possible to generate this file, but that would be another PR (and you still wouldn't want it in the repo).

### Testing procedure
This shouldn't affect anything.

### Issues/PRs references
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * gitignore: add clangd compile flags

-- File Changes --

    M .gitignore (4)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190730/4983b452/attachment.htm>

More information about the notifications mailing list