From patchwork Thu Aug 1 14:56:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 1967766 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256 header.s=google header.b=bylgV8ki; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WZXct1z0Dz1yZv for ; Fri, 2 Aug 2024 01:17:02 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8C420385F012 for ; Thu, 1 Aug 2024 15:17:00 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id DEC6B3860750 for ; Thu, 1 Aug 2024 14:59:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DEC6B3860750 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DEC6B3860750 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::535 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722524396; cv=none; b=RkwGji0hBGmX4BAbzq8ViNiC/tlYt/c2cPNWFS4VkMsrzI+u0kIJ4TacOcJS8SDKTrBrUYwf8Pqm8zxz1RJbhBsmIyStcrsgvsajIf6+j8feXxxIHIZuTR7d1N1hb3jnpPsPzpNu3OHayzJbJw1wijCXC8zOrru8QNDJbObt1KQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722524396; c=relaxed/simple; bh=jft9/zP6LK3T1X0wgKZe5lEeMmpIC8zsgRWf9hjvKwk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Z2uA4OtDvrLvWUoM70krmTRgjiiKC5Suy1MQkI5b0EuFiy63jbk74A7vrIih8PCZG8MivIEQ7wGOi4ieOwpApnk7TGwExXZnP9TMPt0TtDRKHm3Qs7tmWJptXEX+8yjGgrGY7uxZpcNhzLXrqMznG94eO46QP+403RyoaNkG0mI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5a79df5af51so4027925a12.0 for ; Thu, 01 Aug 2024 07:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1722524367; x=1723129167; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xNpw6+3EirOaATZb2uT5/jHJcjLJ0AcTWoVsCMGiY30=; b=bylgV8kiF9PbXUoEOl3ph/Hq5K1ioT2tF/T8T4ZV9uy4K92s7Nn9BzahTuoB50x63Y elAd1N58N9e8XLUiYdWoqgzO6J0QZw7YvE75TGkFBnqRSF6cVUE4Mr3tI3e/S0PHn1uk CkFP6nT1UTtThFWK0gfSRa4Dx7AWwVHYHJyDreJfRYnWkLCusZEnSWA/M8zBmevaWuks deniAzGEC1vERXTeUVsNUC7xRvIadBZ9XKQC2BSx47tjB78q9HBJn8WqLnlO/YQIE6ZK FN/xLw0OZTZ0QoZByl1TMC/cqWcErqkSvfvJHGuTzcDduJAwJ3QiTDzm+sY0WKdUHYxs fVwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722524367; x=1723129167; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xNpw6+3EirOaATZb2uT5/jHJcjLJ0AcTWoVsCMGiY30=; b=oPk3lGiPL29Yi1iJqr4ekrdNl06ag2KWDG4TuI7vTVD2EQgw7bbIbyvbVG8h5DzqeH qo8vPc3WL74O33cMgamjMyHP4Nt0yZ2Hs1kyN7wlKuwnnkpah8cH1Dtr9nf8YnLdLcMK HwTMCIHHSUFwdcy2YKIeQrZGCjul9HmYzE3/AySQknhPSuu+lfjh8E6dS91BKP4u9CwN FkE31GJAL1B+ZsFYF7H45vV8v68i356tL24Z+OwhswsnwST9IIqh+rk1jxA+tf/UZLjG SRxHq5oIVK1BVjBa86tRESdkKyjdz7ybrUYBmJR2jdD05DS61OdQNp/OGFQgR2CASjoy FSuw== X-Gm-Message-State: AOJu0Ywjy3+rpatVrDq+zdFfAIn3jLmr89knudnVdslqoezkvLdZVZwS DQLm/QUrShMBmGNPKZHynu5HMpGDTF13uG92UkEXvPv/lqIgxyXWbt3P28gDMFuU+EmbZzSjsCE huoLw X-Google-Smtp-Source: AGHT+IHo67Y6mnKM4FQDllQf/nEq10huVbnR54WBchVU/k9Y5YwuDWshpwG1SIXQVYAJy502bFw9dg== X-Received: by 2002:aa7:c994:0:b0:5af:d7a9:63d7 with SMTP id 4fb4d7f45d1cf-5b80acb7e8dmr244304a12.6.1722524367203; Thu, 01 Aug 2024 07:59:27 -0700 (PDT) Received: from platypus.lan ([2a04:cec2:9:dc84:3622:6733:ff49:ee91]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac63590592sm10252456a12.25.2024.08.01.07.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 07:59:26 -0700 (PDT) From: Arthur Cohen To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Thomas Schwinge Subject: [PATCH 058/125] gccrs: Placate clang-format re 'gcc/rust/lex/rust-lex.cc' Date: Thu, 1 Aug 2024 16:56:54 +0200 Message-ID: <20240801145809.366388-60-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240801145809.366388-2-arthur.cohen@embecosm.com> References: <20240801145809.366388-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org From: Thomas Schwinge Reformat the upstream GCC commit 61644aea34c4623d16273ff705f8b8b1ff2d87f0 "gccrs: tokenize Unicode identifiers" change to 'gcc/rust/lex/rust-lex.cc' to clang-format's liking. gcc/rust/ * lex/rust-lex.cc (is_identifier_start): Placate clang-format. --- gcc/rust/lex/rust-lex.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/rust/lex/rust-lex.cc b/gcc/rust/lex/rust-lex.cc index bf6bf4c8446..9c2203160cd 100644 --- a/gcc/rust/lex/rust-lex.cc +++ b/gcc/rust/lex/rust-lex.cc @@ -128,7 +128,8 @@ is_non_decimal_int_literal_separator (uint32_t character) bool is_identifier_start (uint32_t codepoint) { - return (cpp_check_xid_property (codepoint) & CPP_XID_START) || codepoint == '_'; + return (cpp_check_xid_property (codepoint) & CPP_XID_START) + || codepoint == '_'; } bool