From 73570795e7906ec555b37ff7e20e5d5d559ccdad Mon Sep 17 00:00:00 2001 From: Ka Ho Ng Date: Fri, 4 Jun 2021 16:04:04 +0800 Subject: [PATCH] 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 --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c674e06fda5..2e735237b30 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ cscope.files cscope.in.out cscope.out cscope.po.out +compile_commands.json