]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: include libcody in TAGS
authorJason Merrill <jason@redhat.com>
Mon, 11 Nov 2024 01:38:40 +0000 (20:38 -0500)
committerJason Merrill <jason@redhat.com>
Mon, 11 Nov 2024 23:47:59 +0000 (18:47 -0500)
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.

gcc/cp/Make-lang.in

index fb7ae59d9d4cd7076f74eab6665eab8499a28cdb..9ec86aac964983a730effec8b6b4f54861be5ea2 100644 (file)
@@ -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