From patchwork Sat Dec 27 20:42:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1078 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766868237; bh=1IVHl1Un7YZarr/1Au+OaueNSso9sZAhklG7C2ypIPA=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EF4/meCbr9w14ru6+OtIyZL5/IDDRQyFt8axV2IJIGlikdsGtWWzLvq0app00l70R LK9gL4dPWx7Dx8z3x8R5fEsJOMgM3FWPi+SOQh/W9qbyVNLOC8llnNgCjHD9MAw+F5 dcD/FXdWC0mR7I2Xme8OvrnGhKSEat3Ew8ynywPIJj5MpTxLGg4qsb69fHHtwTq3dM k9noEJJZ6QPhiplWu+cI4yqc+dIdwE2nAmzYOy8fQAhkDv4yuz6JJWM5a7bSsbjv8V A/3cs6tA80dWSHxhYQq708963UG4KJuQLb5O066FJprCRORH1Gy5Z1cMWWiaijsWbY K7cT87fVhGw3A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id DC5EA65079 for ; Sat, 27 Dec 2025 13:43:57 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id JojsY69nXqiC for ; Sat, 27 Dec 2025 13:43:57 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766868237; bh=1IVHl1Un7YZarr/1Au+OaueNSso9sZAhklG7C2ypIPA=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EF4/meCbr9w14ru6+OtIyZL5/IDDRQyFt8axV2IJIGlikdsGtWWzLvq0app00l70R LK9gL4dPWx7Dx8z3x8R5fEsJOMgM3FWPi+SOQh/W9qbyVNLOC8llnNgCjHD9MAw+F5 dcD/FXdWC0mR7I2Xme8OvrnGhKSEat3Ew8ynywPIJj5MpTxLGg4qsb69fHHtwTq3dM k9noEJJZ6QPhiplWu+cI4yqc+dIdwE2nAmzYOy8fQAhkDv4yuz6JJWM5a7bSsbjv8V A/3cs6tA80dWSHxhYQq708963UG4KJuQLb5O066FJprCRORH1Gy5Z1cMWWiaijsWbY K7cT87fVhGw3A== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CB74064E47 for ; Sat, 27 Dec 2025 13:43:57 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766868235; bh=vQhLSH9ZSKC+o8Zo9sqJPnzuFxfDmFnu3TL69KcKpH8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=im7KZ2UYw+LoM+cvxJSf2UJM/HH+U8bhHeXcIQvEIm5d4dCmuMqrdeDNYF+sui+KO Jm+FyOJrQAo03sN2JkXeFX8Wj+xEo8gOiIhX2K7a1APbRZfAoaIwpGpndPyHBagSra BTowCILntH+q8OSMK6X9g1ID/JxDpVvY/GwicM2ZiWx23Lc4CLtxr9+tJqG7PQtYkt kYCwmyZoG5YvpTvq+DT+QoIcYOiogNvhoAiwLs477Ys6p2J9FgodMi8D9tKK+Bul5R va+anbCs4G8/CCsqjd5Kmx9fcRHXEijJneLVhkwTHMTejeiB79v1wWqBJYWGzV/Zfu EY0uCTeUo761g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 45FE464E44; Sat, 27 Dec 2025 13:43:55 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id galM2HmmhrAk; Sat, 27 Dec 2025 13:43:55 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766868231; bh=Rglfj0TbIc0H+pvzsJR9WbYy3AG/3+dOWLZzqIz2MZU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fKtn4WMo1m0B9Hhaa5u2wbJpvTe3zlwSfhtptZSH+cg0YvbhPGSVJ/B8RyjTPn+xF G+B9UFCp9dQyDI5C6dWfuWu6QHvNTOgaXfYuVpT7Xue6R+TN4B8T6tOGeGIHKs8aIx uyAmdKyn2m8b3Cp6zLmxSn1mEW+3wfSOdnhjY1P2Sqi2MAodFKNaQBL0dmty1KTVCN PUt6Qonnsnb2sw4cvSZyq7pRwHabXCEjmGWHaXy6XF4nEhf9S8ZqblN1ozl7u6W69e +bTxylmIs/7eP4SLLRPJXWhqFamaZy1gLYneSucOr/6M/SyzVauApoKAEjX2nqYtNd 1miPJVHU2CY1A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 265AF64C0C; Sat, 27 Dec 2025 13:43:51 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Sat, 27 Dec 2025 13:42:56 -0700 Message-ID: <20251227204318.886983-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251227204318.886983-1-sjg@u-boot.org> References: <20251227204318.886983-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FA3NWZSE44AITZLNMTJY333AID4BPCQH X-Message-ID-Hash: FA3NWZSE44AITZLNMTJY333AID4BPCQH X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt , Simon Glass , "Claude Opus 4 . 5" , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/16] CLAUDE.md: Add note about test-declaration placement List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Test declarations should immediately follow the closing brace of the function they declare, with no blank line in between. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- CLAUDE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index ca0571ecef8..b2590b17fab 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -72,3 +72,5 @@ pyt - Keep commit messages concise - focus on the key change and essential details only - Code should be formatted to 80 columns and not have trailing spaces - Remember to use Co-developed-by instead of Co-Authored-By in commits +- Test declarations (e.g., UNIT_TEST macro) should immediately follow the + closing } of the function they declare, with no blank line in between