checkstyle9: Allow a space between "*" and _*restrict

Before the change, we would get errors like this:

    ERROR: "foo * bar" should be "foo *bar"
    #369: FILE: foobar.c:369:
    +barbaz(char * __restrict s,

Reviewed by:		des, imp
Sponsored by:		Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D44911
This commit is contained in:
Mateusz Piotrowski 2024-04-23 12:29:02 +02:00
parent 177ba18307
commit 42255af64a

View File

@ -202,6 +202,7 @@ our $Sparse = qr{
# Notes to $Attribute:
our $Attribute = qr{
const|
_*restrict|
volatile|
QEMU_NORETURN|
QEMU_WARN_UNUSED_RESULT|