]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: dump-lang-raw with obj_type_ref fields
authoranetczuk <anetczuk@o2.pl>
Tue, 14 Jan 2025 19:35:44 +0000 (20:35 +0100)
committerJason Merrill <jason@redhat.com>
Tue, 14 Jan 2025 20:24:17 +0000 (15:24 -0500)
commit6e0b048fb5bc0809048ef8f487830ad26f4b87cf
tree0699162aef5d598249f195f9edb0bb2a79bd59b7
parentc8894b681143041205d41e02ede112cef082bf2f
c++: dump-lang-raw with obj_type_ref fields

Raw dump of lang tree was missing information about virtual method call.
The information is provided in "tok" field of obj_type_ref.

gcc/ChangeLog:

* tree-dump.cc (dequeue_and_dump): Handle OBJ_TYPE_REF.

gcc/testsuite/ChangeLog:

* g++.dg/diagnostic/lang-dump-1.C: New test.
gcc/testsuite/g++.dg/diagnostic/lang-dump-1.C [new file with mode: 0644]
gcc/tree-dump.cc