The collectGlobalTypes function scans the whole AST of the translation unit and produces a set of the type names in global scope.
The type names are required for the parsing of C code (e.g. macro definition bodies), as C grammar isn't context free.
See Implementation
The collectGlobalTypes function scans the whole AST of the translation unit and produces a set of the type names in global scope.
The type names are required for the parsing of C code (e.g. macro definition bodies), as C grammar isn't context free.