From patchwork Sat May 9 21:06:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Tia X-Patchwork-Id: 26708 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E7116BDCBD for ; Sat, 9 May 2026 21:08:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 143E962FEA; Sat, 9 May 2026 23:08:03 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=jetm.me header.i=@jetm.me header.b="hMJOvMQR"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="O2+0+CPX"; dkim-atps=neutral Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B179362FB1 for ; Sat, 9 May 2026 23:08:00 +0200 (CEST) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 99B3A1D0005C; Sat, 9 May 2026 17:07:59 -0400 (EDT) Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-02.internal (MEProxy); Sat, 09 May 2026 17:07:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jetm.me; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1778360879; x=1778447279; bh=C2d18BJNBn LQEIm9aZsxflA2WNBJbvAm5XMc9XFNBD8=; b=hMJOvMQRB+mtVqBpSQYtxFiwRj Lt4SZ8llQ6aFvw24RKK2pLHLI7dmvot1q15mASG0o3GdPdRpaz7weKNTDLNEC8uT hKm6pL633jWF126ngn6l1KKUtdFlxrGwmjRTKbo5VZX7MHftjaDba0DxvY/JyAvI OnGI4R03P0J6ESJJ6NakNkeUxDWLxCWnM/4QW6U07W/pGXqkZK2AMgFL9QjevMJv Zg46w3CPiaBN0AL5qIiYZrGa0wz0EoVbxM2mYLCCZCni9zxJ3p9Qvf0J8PlMuz9V cATqPDqBE9GBgIQ151BrQtrY10EAgMQHxAd7oBdGmX6tqaXOgGPBWyrJXpaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1778360879; x=1778447279; bh=C2d18BJNBnLQEIm9aZsxflA2WNBJbvAm5XM c9XFNBD8=; b=O2+0+CPXjbqXCoQf5HCLwjO9fgFb+P8e94Yt1XJ7Mt1y2/P5QrB BDIc3wJiQZBQx+C+ToVAXT9PZYERXUpA0K7DTJ8VnI+LL4GFDXs21j9Rxx0ArW6+ rAQTjLluW2tmp+/clO8YcW7t9v8MiGekAEef7p3tmWhTZSkbKTuuKDJzqK2UTa0o QJtP4aCfODHnAaK88Ot7ylwFvV++wL9mmXbOsNZzE99VQX8yBMhqqeCDrQPRiD8H hw9t+oEOot+P8df+iY7jQ6yOaJHkpSg7T35pOM6AmXKzZ21L8j9pLWLb46zvD047 twZJrkoBFRHIsDBcq+DnMuWvgFoRlvOBqjw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduudegvdejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucgopfhokfffucdluddtmdenucfjughrpefotggggffhvf ffufesthektddtredtjeenucfhrhhomheplfgrvhhivghrucfvihgruceofhhlohhsshes jhgvthhmrdhmvgeqnecuggftrfgrthhtvghrnhepffdvfeetleduhedvhfejvddvieekff ehtdegkeegudefieejheehudehhfevjedtnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepfhhlohhsshesjhgvthhmrdhmvgdpnhgspghrtghpth htohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhlohhsshesjhgvthhm rdhmvgdprhgtphhtthhopehlihgstggrmhgvrhgrqdguvghvvghlsehlihhsthhsrdhlih gstggrmhgvrhgrrdhorhhg X-ME-Proxy: Feedback-ID: i9dde48b3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id F3F7F1EA006C; Sat, 9 May 2026 17:07:58 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 From: Javier Tia To: libcamera-devel@lists.libcamera.org Date: Sat, 09 May 2026 15:06:56 -0600 Subject: [PATCH] clangd: add compilation database configuration Message-Id: <20260509210758.F3F7F1EA006C@mailuser.phl.internal> X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Without this, clangd cannot find build-generated headers such as build/src/libcamera/tracepoints.h and build/config.h, causing spurious diagnostics for any file that includes them. build/ is the project-canonical build directory, already listed in .gitignore and used in the contributing documentation. Developers using a custom build directory can place a local .clangd override; if build/ is absent, clangd falls back to its normal heuristics with no regression. Signed-off-by: Javier Tia --- .clangd | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .clangd diff --git a/.clangd b/.clangd new file mode 100644 index 00000000..e95990a8 --- /dev/null +++ b/.clangd @@ -0,0 +1,2 @@ +CompileFlags: + CompilationDatabase: build/