I want to see the syntax tree that g ++ generates at compile time. Actually, I want to understand how high-level C ++ operators (especially initialization instructions of classes and structural objects) are analyzed by the g ++ compiler and how the compiler performs semantic analysis of these constructions. My goal is specific to g ++ only, and any general information regarding analysis and semantic analysis will not be useful to me.
Looking at g ++ code, I could find the data structure used internally and the various types of nodes it creates in tree.def files, etc. I am wondering if there is somewhere good documentation explaining this problem. Any help would be appreciated.
source share