[PATCH v4 0/4] Add include guard checker and reformatter

Pedro Alves pedro@palves.net
Fri Apr 19 16:55:24 GMT 2024


On 2024-04-19 16:26, Simon Marchi wrote:
> So, after patch 4/4, your script doesn't need to handle the the
> `defined(FOO_H)` style (OLDDEF in your script).  I think you could
> remove support for that, it would simplify it a little bit.

Doesn't it need to handle it in case someone creates a new header and writes
defined(FOO_H) manually?  You'd still want the hook to fix that.



More information about the Gdb-patches mailing list