[Skiboot] [PATCH] gitignore: Add compile_commands.json

Russell Currey ruscur at russell.cc
Fri Jun 9 14:04:12 AEST 2017


compile_commands.json is a compilation database used by Clang and some
tagging magic tools.  There's a tool called `bear` which intercepts the
compiler and creates this database of how every file is compiled.  This
enables my editor to highlight which #ifdef blocks actually get compiled,
for example.

Used by rtags: https://github.com/Andersbakken/rtags

Signed-off-by: Russell Currey <ruscur at russell.cc>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index a276cc7d..e7fa4a08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ GTAGS
 GRTAGS
 GPATH
 cscope.out
+compile_commands.json
 asm/asm-offsets.s
 include/asm-offsets.h
 version.c
-- 
2.13.1



More information about the Skiboot mailing list