Re: Debugging the tree object constructed by cp_parser

2023-12-05 Thread Stan Srednyak via Gcc
c/main.cc:39 > > > Dave > > > > > I looked into GCC internals docs. The section on the front end (sec > > 5) is > > wonderfully concise, of course, but it does not answer this question. > > Do > > you know any sources where this is documented? > &

Re: Debugging the tree object constructed by cp_parser

2023-12-04 Thread Stan Srednyak via Gcc
(sec 5) is wonderfully concise, of course, but it does not answer this question. Do you know any sources where this is documented? best regards, Stan On Sun, Dec 3, 2023 at 1:00 PM David Malcolm wrote: > On Sat, 2023-12-02 at 17:41 -0500, Stan Srednyak via Gcc wrote: > > Dear GCC

Debugging the tree object constructed by cp_parser

2023-12-02 Thread Stan Srednyak via Gcc
Dear GCC community, I am assigned the task to debug the trees as being produced by the cp_parser. I was able to print some of the trees using the debug_tree() function. But I am still confused as to where is the tree object that corresponds to the translation unit being parsed. There is no such fi