https://gcc.gnu.org/g:858912fa675d4c42529bf5f02cbc0dc8438d92b7

commit r15-5113-g858912fa675d4c42529bf5f02cbc0dc8438d92b7
Author: Jason Merrill <ja...@redhat.com>
Date:   Sun Nov 10 20:38:40 2024 -0500

    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:
---
 gcc/cp/Make-lang.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

Reply via email to