From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 267D63858C20 for ; Tue, 14 Nov 2023 00:44:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 267D63858C20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 267D63858C20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.137.180 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699922646; cv=none; b=M8tEM9BEPvYnJlR/Hz3GETLR8VxNDHqMuGMyVk7r+eJlEpmSXKy+jYmG5ISTpId2uTSP8U4pYtX9UK3S8Ihsd7ki3/RMDXV+AeofDn9I4BIKyOCzl3xDtw/Jc6DTEoZ1odDxvv+qTputbx88U6mlYc8WKpr2N6cqd2jYUO2j0Vc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699922646; c=relaxed/simple; bh=jx9W3DYu3+D9tCMuqCSIjBmkg71lIOvCd94VcPbggbs=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=hvZdF9YgmCMG65E/96G0VcTALxciJDArcgmwDT90ytscaihVSnYwfX/HEXhvC/Qee804AdrmZ0ZnFghg3qY3J2dRvtB0ZnrYcvXnqtxylEtKRHda2+RPKvALVAd2HFi46GKHFYo+KtJxYsS5tCO/EC6GZlF84ewdduMLQ6qdz4A= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: zjISfCLcTbqk/HYTBZpmRg== X-CSE-MsgGUID: hUCSI8pwQKeO8x1hvA/mMg== X-IronPort-AV: E=Sophos;i="6.03,299,1694764800"; d="scan'208";a="22686109" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 13 Nov 2023 16:44:04 -0800 IronPort-SDR: 532AXBcX0gk0B5PKROKpVqy+FOUnfI7FD6gPFK0JXC2DbSm+oj/nrGJn9neGSkdKBjNRJ8x6g+ lGFLWdexqcJ3Hau/OR7U6sqXYEeUFNHH372OaDq2C1/6PTC5IgWXeD7HUlNKvXYUDe0CYmYxiu JtLJVD8rLL7wJcAGDn9zLwo5JjnFixZEO8WR6yHXSTSSM/yJ5qzoZcZ7REgxwrJR4PY/v/SWxp Vn4uI/r6xI661IN2OQ8PSL46FCSrCXEaAapdG8b/Z24lqkcfaWkbZxXbthHxOnuAosApnTpIHn tDU= Date: Tue, 14 Nov 2023 00:43:59 +0000 From: Joseph Myers To: CC: , Subject: Re: [PATCH 2/4] c-family, C: handle clang attributes [PR109877]. In-Reply-To: <20231113060244.90554-3-iain@sandoe.co.uk> Message-ID: <8c3d3866-19f9-26b0-4f29-7c6c87efae71@codesourcery.com> References: <20231113060244.90554-1-iain@sandoe.co.uk> <20231113060244.90554-2-iain@sandoe.co.uk> <20231113060244.90554-3-iain@sandoe.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3103.3 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sun, 12 Nov 2023, Iain Sandoe wrote: > This adds the ability to defer the validation of numeric attribute > arguments until the sequence is parsed if the attribute being > handled is one known to be 'clang form'. This is only for __attribute__ and not [[]]-style attributes, is that as intended? (Doing it for [[]] might be harder because of how the tokens after [[ have to be lexed early for Objective-C to see whether there is a matching ]] and thus whether it's an attribute at all.) -- Joseph S. Myers joseph@codesourcery.com