[Linux-kernel-mentees] [Cocci] [PATCH v2 0/3] cocci: Improve management of macros before typedefs

Markus Elfring Markus.Elfring at web.de
Tue Jan 21 09:56:56 UTC 2020


> If <typedef> is a known typedef (such as u8 or *_t) then label <macro>
> as a CppMacro. Subsequent cases will label <typedef> correctly as a
> typedef ident.
>
> Also add bool to the list of known typedefs so that cases of

Can a wording like the following be nicer for such a change description?

  Label <macro> as a CppMacro if <typedef> is a known type definition
  (such as u8 or *_t).
  Subsequent cases will label <typedef> correctly as a type definition identifier.

  Add bool also to the list of known type definition identifiers so that cases of


Regards,
Markus


More information about the Linux-kernel-mentees mailing list