public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philip Richard Oberfichtner <pro@denx.de>
To: u-boot@lists.denx.de
Cc: Philip Richard Oberfichtner <pro@denx.de>
Subject: [RFC] CTAGS prototypes
Date: Fri, 20 Oct 2023 12:46:07 +0200	[thread overview]
Message-ID: <20231020104606.23305-2-pro@denx.de> (raw)

Hi,

is there a specific reason why the ctags make target is compiled without
using '--kinds-c=+p'? Maybe it would make sense to (optionally) include
that in the Makefile?

I personally find it useful to jump to the header where a function is
declared to view the documentary comment. Or am I missing another option
to quickly get there?

Regards,
Philip

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-22  Fax: +49-8142-66989-80   Email: pro@denx.de
=====================================================================

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e0040a40d3..7f108330a5 100644
--- a/Makefile
+++ b/Makefile
@@ -2085,7 +2085,7 @@ FIND := find
 FINDFLAGS := -L
 
 tags ctags:
-		ctags -w -o ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
+		ctags -w -o ctags --kinds-c=+p `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
 						-name '*.[chS]' -print`
 		ln -s ctags tags
 
-- 
2.42.0


             reply	other threads:[~2023-10-20 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20 10:46 Philip Richard Oberfichtner [this message]
2023-10-20 17:50 ` [RFC] CTAGS prototypes Tom Rini

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=20231020104606.23305-2-pro@denx.de \
    --to=pro@denx.de \
    --cc=u-boot@lists.denx.de \
    /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