From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=maniero.me header.i=@maniero.me Received: from cross.elm.relay.mailchannels.net (cross.elm.relay.mailchannels.net [23.83.212.46]) by mail-a.sr.ht (Postfix) with ESMTPS id EBBC520132 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 15 Feb 2024 00:02:48 +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 27289803345 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 15 Feb 2024 00:02:47 +0000 (UTC) Received: from nl-srv-smtpout4.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 52AA0800568 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 15 Feb 2024 00:02:46 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1707955366; a=rsa-sha256; cv=none; b=OQHfupYQdtGRIRd0fKMkTerW8YSXsHY62/2VjGCRNlLyQ4IjARbU1QWDwcnJd6jS/ZmZNt Udo2Rd4htjU+Yl4k9zPzbUs6YzHI696ZFGTn4WfYefYACme7DWsQf6AT811SiehLWvD/bv Gk8k5fixJn8rKbORitZQng2+XNyV1bLn+NSqtjF5YssjqxdaAPPCqalrOZU9xawr0FJSla OdLUxhkeUhjMgtJEskncXwfT1jMPGJaTSy1jt/8MPT6cbMAYe7G2wLd3TUr1DG8GEQLIs3 NGCFfmtlrBVH2tKBuUUrS3sGxpk2NG31L+7On9rbg5MKk4/L8xmoOoCWKDcPYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1707955366; 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=ixsXe+Y66PTq0VFtbNZhVLGhSSWwRjkGbBPlpJPkPx0=; b=QsX2Wn7EYrjbnAAjLEk3Mvi+Qy3g9O1JqlVAoDC3SbYY95ZB7/cT65FiHxcSwq7+vSA1fx VSYfsvWGJbkZir6XckMwEXSA9BoYwAw7IPrBGLLnF0c8kU/sLrzW0vy/4puqoiWA2A8GE0 8kLoYkIQCaruqivzslOJJbcRSSMbYmcPQUCDimZqBEaMNChbbWr/0zN0Cq1ASW0pF1unYA yd+hKeC2ZdQAe1Myk/OLPEGOLlA69ZesGxDJD/7CpjP36h37dYNO8O7QmdVdvr+A+F2+hl z8qncVQP8AkpPGEbO5EpNBDkKDaHjXyJ/NrF9qMAwa4Jm7vfwCauc40cV7o7Zw== ARC-Authentication-Results: i=1; rspamd-55b4bfd7cb-6vwm8; 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-Left-Ski: 76f876177fa8f303_1707955366849_4287923416 X-MC-Loop-Signature: 1707955366849:1662051661 X-MC-Ingress-Time: 1707955366849 Received: from nl-srv-smtpout4.hostinger.io (nl-srv-smtpout4.hostinger.io [145.14.159.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.100.244.10 (trex/6.9.2); Thu, 15 Feb 2024 00:02:46 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1707955364; 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=ixsXe+Y66PTq0VFtbNZhVLGhSSWwRjkGbBPlpJPkPx0=; b=aGnRicdKz2+yFDpmxu7GN64LIpYUpRQtcG6FuFEzK6ARPGe/MSl1YWlmGNe9F0vm91cY7g h1XdlkJah7LS0RfF7mDtmAuiwQun1yeQAAdjWAMJBEjDKfxqLwwUR68ejDXyaNDgxlEPU1 AoRQT6umg6E2mPLZ+2XOEfAv8QRsccu1+AJhAvzGUMRAfiZPB+lYq45h7vFJQlTRJcCIbZ OU8aLBOEwLdMZy1KAt1JKSZeTZp8y95Y2DcvRIlbQ6/Vky0Vsllv7zU1smP3aqbXA2V+UF bxyiMN4fcd6jStgf8aYek80sFQI31VmEw/Qfdg8MITCzjEzfDmlsIhajAzthzg== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang v2] style: fix clang-format format indentation Date: Wed, 14 Feb 2024 20:57:49 -0300 Message-Id: <20240214235749.62209-1-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214233630.45227-1-carlos@maniero.me> References: <20240214233630.45227-1-carlos@maniero.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-Envelope: MS4xfFhIxdW7dVVbz8OMuhxdhjx0IhfSpwGTft30VG611pvVjyI+QhJ4wf/PeLefFj7Vk65tvkh9fCiY2s3teq3NTgGDL/I8o8ZCrpi+IDNpFuZr89C70DCZ VIpLa39tzcSMmX8WYpAntb72HBIW8PW1/5RApMryEDgiTmh+hnO+0OnvdLH9eFOmSUPplgB6kNQzuTy3/099pzo0mkmZy/Kn4EQnjz231sT9q5t1K3yMd6/I 6932dvjGykbV8KWODdcrgQ== X-CM-Analysis: v=2.4 cv=DIOJ4TNb c=1 sm=1 tr=0 ts=65cd54a4 a=5+VMC1FZ3J4mVPAKpPmAqg==:117 a=5+VMC1FZ3J4mVPAKpPmAqg==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=BXDaF_L80NYA:10 a=VJkuBFt-wZGFXJPDKdEA:9 X-AuthUser: carlos@maniero.me X-TUID: +O4fx5oMMNtI editorconfig was set to 4 spaces clang-format was expecting 2. Signed-off-by: Carlos Maniero --- v2: - I forgot to fix the 0c.c file .clang-format | 6 +++--- src/0c.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index 2850fff..b76afee 100644 --- a/.clang-format +++ b/.clang-format @@ -81,8 +81,8 @@ ColumnLimit: 120 CommentPragmas: '^ IWYU pragma:' QualifierAlignment: Leave CompactNamespaces: false -ConstructorInitializerIndentWidth: 2 -ContinuationIndentWidth: 2 +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 Cpp11BracedListStyle: false DeriveLineEnding: true DerivePointerAlignment: false @@ -124,7 +124,7 @@ IndentGotoLabels: true IndentPPDirectives: None IndentExternBlock: AfterExternBlock IndentRequiresClause: true -IndentWidth: 2 +IndentWidth: 4 IndentWrappedFunctionNames: false InsertBraces: false InsertTrailingCommas: None diff --git a/src/0c.c b/src/0c.c index 97a8f47..33ac945 100644 --- a/src/0c.c +++ b/src/0c.c @@ -17,5 +17,5 @@ int main(void) { - return 0; + return 0; } -- 2.34.1