[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs/misra: add always_inline to C-language-toolchain
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 4 Aug 2023 09:37:49 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t4xkYOHi2k/b79+KE7YivMJrRoGNugFKVWE7D78cG/M=; b=RCeV+TmSt7iD/Ud6o6ubm/V5LmTk0J2k78BTPBqG9UbsZf5525tStZC+Kp/oYVpVZY0RRDn3wnnQZbTLQyPt8LQUuuT4F4WbroaN18CsLXDWsHCktc/AL+WNkwMxo7FY919S2MCj1V26ARE7n2/TVrs5cTxxYpJgQLLctRRNNE4d+mXICX/70iJaj3r1H5prvA3hsfJbnMvmDnQl0G89lmFk30PDddlHdSZpIRBEyayyvPAeaqxXVjAdlvsysO7Z1qPg/dPrfZx+phlIKyH6SBRJHrsyGRg6nDy0TL9MBpbaMCbPboe9Qe5GHCvpOLpMr46Cxogzm9lKfxUNMC6HbQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hoAJHKhaU3AiAoa7RHhCWXHxC5nd4OA8FCd6yZG1b1pSnSz2/CVrvOVh7OxVJhDB1+xWocA5Je490ckfwRaZvknrXVd1s6vJJjA68dUryvMjKQhiQ26MtjkmFEmzZmwhFT1dd/4h/8CBhOLB82qDqpKgkZdA0/0wz2CyAX0YHIZhHB/LiooQe/9g11+4bfzj4swwDMmqNH9rEmqxXbPIXcZGum5hA8TtkKMNF1vXKl3o4KyETbPsQmm2DDJKjDgiHI6iRvAutDR8K9VLBwKgmWfTbaMi6amSXdwfMwVXwJnRMlRL5ccL/S2eecs1nlxtx+lOe6zEQr6eDYNDpEHkRQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, julien@xxxxxxx, bertrand.marquis@xxxxxxx, roberto.bagnara@xxxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 04 Aug 2023 07:38:04 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 04.08.2023 03:34, Stefano Stabellini wrote:
> --- a/docs/misra/C-language-toolchain.rst
> +++ b/docs/misra/C-language-toolchain.rst
> @@ -84,6 +84,8 @@ The table columns are as follows:
> see Sections "6.48 Alternate Keywords" and "6.47.2.1 Volatile" of
> GCC_MANUAL.
> __const__, __inline__, __inline:
> see Section "6.48 Alternate Keywords" of GCC_MANUAL.
> + always_inline:
> + see Section "6.45 An Inline Function is As Fast As a Macro" of
> GCC_MANUAL.
> typeof, __typeof__:
> see Section "6.7 Referring to a Type with typeof" of GCC_MANUAL.
> __alignof__, __alignof:
This is the "Non-standard tokens" section. What you add is a macro of our
own. In its expansion we don't use the similarly named attribute in this
very spelling, but with underscores prefixed and suffixed to it.
If we mean to enumerate __attribute__(()) identifier tokens here as well,
then I think we should add all of them that we use. But that's going to
be an ever expanding list.
In any event I don't think such an addition can come with an empty
description.
Jan
|