public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@palves.net>
To: Simon Marchi <simark@simark.ca>, Tom Tromey <tromey@adacore.com>,
	gdb-patches@sourceware.org
Subject: Re: [PATCH v4 0/4] Add include guard checker and reformatter
Date: Fri, 19 Apr 2024 17:55:24 +0100	[thread overview]
Message-ID: <8498b0b3-5e07-451f-8754-d7825f2d2145@palves.net> (raw)
In-Reply-To: <177261d7-e29f-477b-9716-f76a919fe1a4@simark.ca>

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.


  reply	other threads:[~2024-04-19 16:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-19 15:03 Tom Tromey
2024-04-19 15:03 ` [PATCH v4 1/4] Fix some minor header file irregularities Tom Tromey
2024-04-19 15:03 ` [PATCH v4 2/4] Add an include-checking script Tom Tromey
2024-04-19 15:03 ` [PATCH v4 3/4] Add check-include-guards.py to pre-commit Tom Tromey
2024-04-19 15:03 ` [PATCH v4 4/4] Run check-include-guards.py Tom Tromey
2024-04-19 15:26 ` [PATCH v4 0/4] Add include guard checker and reformatter Simon Marchi
2024-04-19 16:55   ` Pedro Alves [this message]
2024-04-19 18:43     ` Simon Marchi
2024-04-19 20:52       ` Tom Tromey
2024-04-26 15:19       ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8498b0b3-5e07-451f-8754-d7825f2d2145@palves.net \
    --to=pedro@palves.net \
    --cc=gdb-patches@sourceware.org \
    --cc=simark@simark.ca \
    --cc=tromey@adacore.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).