mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
177ba18307
commit
42255af64a
|
@ -202,6 +202,7 @@ our $Sparse = qr{
|
||||||
# Notes to $Attribute:
|
# Notes to $Attribute:
|
||||||
our $Attribute = qr{
|
our $Attribute = qr{
|
||||||
const|
|
const|
|
||||||
|
_*restrict|
|
||||||
volatile|
|
volatile|
|
||||||
QEMU_NORETURN|
|
QEMU_NORETURN|
|
||||||
QEMU_WARN_UNUSED_RESULT|
|
QEMU_WARN_UNUSED_RESULT|
|
||||||
|
|
Loading…
Reference in a new issue