From patchwork Fri Jun 9 04:04:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Currey X-Patchwork-Id: 773619 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wkTFS65p5z9s7f for ; Fri, 9 Jun 2017 14:04:28 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="qbUt7Krl"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wkTFS50HVzDqNR for ; Fri, 9 Jun 2017 14:04:28 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="qbUt7Krl"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wkTFL3SYXzDqM3 for ; Fri, 9 Jun 2017 14:04:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="qbUt7Krl"; dkim-atps=neutral Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B469A20931; Fri, 9 Jun 2017 00:04:19 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 09 Jun 2017 00:04:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=BiZnmK yLo+hF9Rhf2DljxD2P34DQPJJECLj7NqYvZVA=; b=qbUt7KrlP8b+Cx9cpLoCRJ MWTO3HMSKcbQZIn33ZO+kktJyVpdbMUNLRZYOBi4iRwUIDLk33Nc7QFclTTygQMN dFGhA34AZc5aY1lvM/MICASCMYTTjFUOn+QQ37tY9/y0fvXdX+frVOaTcZ+JwLj0 yHylVyJmC+CFyIv4yLUcauuw6LAFsffJqgh8umYSRAVtzrrmILs+zdddR2oOjAMm PLrp0ebsw4OB/+sj0B3U1e2grGPQ4jL4kdT9+/O44HM/hq26wUew/08XJYQj3zUz if7FibwTJMJhUtLx7C8QcsvZEwU29QMo3xbvQbGuhwj+zm1TC7r7wK/kmNU9ZYVg == X-ME-Sender: X-Sasl-enc: HMeUNfDhXmKBhYEyle9hHHHuQXK2RV7mZ1HVzULJAa/K 1496981059 Received: from snap.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 971792486E; Fri, 9 Jun 2017 00:04:18 -0400 (EDT) From: Russell Currey To: skiboot@lists.ozlabs.org Date: Fri, 9 Jun 2017 14:04:12 +1000 Message-Id: <20170609040412.2471-1-ruscur@russell.cc> X-Mailer: git-send-email 2.13.1 Subject: [Skiboot] [PATCH] gitignore: Add compile_commands.json X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" 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 --- .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