From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eJV/NvVYCWejYQEAqHPOHw:P1 (envelope-from ) for ; Fri, 11 Oct 2024 18:57:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eJV/NvVYCWejYQEAqHPOHw (envelope-from ) for ; Fri, 11 Oct 2024 18:57:25 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=R9msSXlD; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=H6zDpvhh; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=none) header.from=maniero.me; arc=pass ("mailchannels.net:s=arc-2022:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1728665845; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uMKnvHqys3HfQNLxIQMfSQxGKDlcw+WJM4L9IVdv+NE=; b=JJflXd7V+Bl7pU9rd0gzNNIpppJAg7hJrtcT+JoDLXkKpuhTfNFJAxIw8rUEQmItYPYv7F ypLZDCMYAp6xx36efAp1j196+L8rLCJ28AXxp6ZeGhTwj2fzOye0rLCVWoKR+JVqzQoUmL HUD9m/nE1D805Bp/l9Rf0/3Qv5BCN4OVNULb20O7K9Qam47zVg8PEvv38nXsE3HGIaWaoj JwdRTC1Agpu1S7t/6lM3M9o4YgWxy0SkvdaQ6wcLCqvJOPtwc3Xcn92f3Yb78svitY6BWu Vmzyj6EkX7GFG/EBTvnS7JjEBm05VITvUX+Omec+StSUTCzYW91lFctyPTiHvQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=R9msSXlD; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=H6zDpvhh; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=none) header.from=maniero.me; arc=pass ("mailchannels.net:s=arc-2022:i=1") ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1728665845; a=rsa-sha256; cv=pass; b=kHCn4SDy/w6DFMKI2aNuN7sXBnOUoK+S3Fz8gyLVNEAc4iMT/wELgtWu6U7E9yKs2PMEfK W1aI3zH3VWfdf73/may98qnXJsFCHYFa3+4Dnz1dI/x/W/f4J2l6Uf9YpG22EolBc0FUnn +91Pjrd+M+/tbYkOxLH9LKho3cfwgyn6JKBeM3pzPPBAoOQVkmNvsYszctSMN7jYHvOPI7 qaXyYIfGv8CMJD+KQn9UH6vyCqT6AJGNJnaTFgDhq47H9GTLw4R4xiMVag74zpKzYrx0i6 /JZBz9QMMB4BQKyKjhtT86y7zouqsehPr72Zn9ESAXlvA7DwsgujOP/Fi5rS2Q== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C92CC7CF5E for ; Fri, 11 Oct 2024 18:57:25 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=N9H49B+lupHECwgSEqi36lZl4fIWbw/PcFaAcsvU+o4=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:In-Reply-To:References:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1728665845; v=1; b=R9msSXlDa6yJn2/YHriKPYtMcx+T5WtwDuBqGxq1O9JaocTxFef2BuIcV2RJoLzpYFLlBiHA IyRwwkWueih6BQz819nZniYMZyttS4Z9xYQES9R25JDfpZiUNdfY7y/VueqPSK6RVLqwBhFSCMA FeIp33pYtHDA8gcWyiKBg5p10MG5AsLCs0Qhqjs4zuI4VwXAv98q3vh2nA7pd6KjmNJ1RpRtNHw GxJZ3o1/qzjM/ZyBotzdo7sxS2dcwfTXm9txhQm2SRA6FEtK1TEDkAHYyvxuBihe1VBJOkFdqeh EeeWXxG2vH/2sqVWduDaFImjHm7e774kump6+Qze9ebsQ== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 953A62029E for ; Fri, 11 Oct 2024 16:57:25 +0000 (UTC) Received: from skyblue.cherry.relay.mailchannels.net (skyblue.cherry.relay.mailchannels.net [23.83.223.167]) by mail-a.sr.ht (Postfix) with ESMTPS id 36B2820294 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 11 Oct 2024 16:57:24 +0000 (UTC) X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id CA22DC86B0 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 11 Oct 2024 16:57:22 +0000 (UTC) Received: from nl-srv-smtpout1.hostinger.io (trex-13.trex.outbound.svc.cluster.local [100.100.145.244]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 3B68EC7F73 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 11 Oct 2024 16:57:22 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1728665842; a=rsa-sha256; cv=none; b=EmKPuER5P00enZWfSf21+lhGfPa6K+lqfvKT5hO4+KM/yvH/TrjMPanEGMqYKgx71k5I7b xEqvQ4TRuKWlkmnk3gnGaOLGKW0oXQSN8vE1uzcTB3LN8RdyGGH4TdQhtJKvK2V0O0/8T2 bGlF7mB3LqXHZmuka5w6dJH6wdFIDIVjnZsvvFjlizM6ssz9TMmyNsXmjL3cV52w8WMjUF M1WJinL9Bz9JzRKfzFHugk3KhWdGhIMnX0c3t2iB1bSW9OsAvjcRNI+2BhTvSB3l1GYqwN pYuW1MaU3fxKdF5+XAtiTsIgOoqaSEhtz3RP/4/Ek0n7opmR1aVZCtTkxBDc1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1728665842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=uMKnvHqys3HfQNLxIQMfSQxGKDlcw+WJM4L9IVdv+NE=; b=MeLgvcQSoSCY7JhtWMbE4R5DRjJf+YvwzxFSNwvd9TceYPkrQHdXXigwKyz27WtDFpEuXh 1A0oRGtigiRCKU0zudOyoP8n0MmWnv0KSW8HywOdn7+8fjBFpVCMWGp17uAJ0XZE2lVf+6 dNvFrp26zK2KiV+PG8g8FiYdp+rZ/6uq05Vo2CPin4hAkv+be5iN9mtWJSTb23i0s7MhSp VESm90lEJqzXxO1G7W6wkFWO+/Z52dRP7Yl2WUlWC/g4XMGGJwYfQI4qQNFulUug+uHW6g 8uoWHev+1p72da7FVukrd/0m+1Ri6RoVH9mo6KsBtzIWc5oki9LtGbxv56Ng7g== ARC-Authentication-Results: i=1; rspamd-6ddc7ff9cb-v25s2; auth=pass smtp.auth=hostingeremail smtp.mailfrom=carlos@maniero.me X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|carlos@maniero.me X-MailChannels-Auth-Id: hostingeremail X-Harbor-Blushing: 6db8ce9f040adaa9_1728665842705_94688929 X-MC-Loop-Signature: 1728665842705:2564695356 X-MC-Ingress-Time: 1728665842705 Received: from nl-srv-smtpout1.hostinger.io (nl-srv-smtpout1.hostinger.io [145.14.150.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.100.145.244 (trex/7.0.2); Fri, 11 Oct 2024 16:57:22 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1728665840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uMKnvHqys3HfQNLxIQMfSQxGKDlcw+WJM4L9IVdv+NE=; b=H6zDpvhhRlCkZxOKWCgBM/0ofoFrMJGuwqnpBgBfuAgZK34GYV7nQL18Go1pwVVgO268gS WWd3HXisbPbPLBzSc7Zn2IGd6z96Wsed/fWyO2sMLIlUVZ2WHo3E4xu3Zmks3DqyPY2lTw PyHYFflzIrvUzjvIJB40GjYidNVfb9ilZbPFw+RVJ7OXJif5VEdJC2sWzckrh98btW8AcC nrQt7TUcHuDQNpDqLc/3X4B4lC26tOkcVhjncHzhTX0Bc4xqVfw/TNHFeCBoqOEbVM5BXJ YxiSkJoMN5ESyxjuiwgsWLz3DCk3j00ptfL+DnBrwTIfh8Wm7//oeot+zXhSPg== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang v2 2/4] codestyle: do not allow single line enums Message-ID: <20241011165708.553265-3-carlos@maniero.me> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241011165708.553265-1-carlos@maniero.me> References: <20241011165708.553265-1-carlos@maniero.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 11 Oct 2024 16:57:20 +0000 (UTC) X-CM-Analysis: v=2.4 cv=bZY5U/PB c=1 sm=1 tr=0 ts=670958f0 a=WwxFCuf3mf1fs3oSi6/dng==:117 a=WwxFCuf3mf1fs3oSi6/dng==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=IiTfHFAyhejMAvIBkbAA:9 a=BXDaF_L80NY05PYiAFlV:22 X-CM-Envelope: MS4xfJg2JqN4ydyKfGBwmcWMfLsbmYWT9FrpvyD6vZAytTh61VaALUffWR+aaDg5ukMmvJAKUJgKlPyeCafItRlsj1ONdZR2/nnim1oXGyjkCpWdVMAPo/hH r95E69mUTW3nWE910HfUC5BAp6qdJ/PgQHQnkaoplBwiHJpOECZYE+8l8y7z4F6CyLkPdQCd5RlNH86/gf1N+izHrqkGgviWAQ1JHYZ7bqeqN40yODqAs5/3 X-AuthUser: carlos@maniero.me X-Sourcehut-Patchset-Status: UNKNOWN List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.60 X-Spam-Score: -1.60 X-Migadu-Queue-Id: C92CC7CF5E X-TUID: /KzfTDpE6sPr Signed-off-by: Carlos Maniero --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index b2eb3c5..fa8dbc8 100644 --- a/.clang-format +++ b/.clang-format @@ -33,7 +33,7 @@ AlignOperands: Align AlignTrailingComments: true AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: false -AllowShortEnumsOnASingleLine: true +AllowShortEnumsOnASingleLine: false AllowShortBlocksOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: Inline -- 2.46.1