From 165833a97c1a768f370702be16462c071aa36c4a Mon Sep 17 00:00:00 2001 From: Pieter Kapsenberg Date: Sat, 18 Jan 2020 19:44:03 -0800 Subject: [PATCH] Add compile_commands.json to .gitignore (#2119) When running make with the "bear" command, the generated compile_commands.json file shouldn't be considered new source. This file allows clangd-based code completion tools (e.g. YouCompleteMe) to know the flags that each file was compiled with. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 725173409..e9235a3a7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ README TAGS autom4te.cache +compile_commands.json config.cache config.status configure