From: Jason Merrill Date: Mon, 11 Nov 2024 01:38:40 +0000 (-0500) Subject: c++: include libcody in TAGS X-Git-Tag: basepoints/gcc-16~4440 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=858912fa675d4c42529bf5f02cbc0dc8438d92b7;p=thirdparty%2Fgcc.git c++: include libcody in TAGS The C++ front-end uses symbols from these directories, so they should also be in TAGS. gcc/cp/ChangeLog: * Make-lang.in: Also collect tags from libcody and c++tools. --- diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index fb7ae59d9d4c..9ec86aac9649 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -232,8 +232,9 @@ c++.srcinfo: c++.srcextra: c++.tags: force - cd $(srcdir)/cp; $(ETAGS) -o TAGS.sub *.cc *.h --language=none \ - --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' cp-tree.def; \ + cd $(srcdir)/cp; $(ETAGS) -o TAGS.sub *.cc *.h \ + ../../libcody/*.cc ../../c++tools/*.cc \ + --language=none --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' cp-tree.def; \ $(ETAGS) --include TAGS.sub --include ../TAGS.sub c++.man: doc/g++.1