variability-aware lexer/parser

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

variability-aware lexer/parser

Liu, Yaxun (Sam) via cfe-dev

Is it possible to make the lexer and parser in clang a variability-aware? For example, if a C/C++ program contains a #ifdef, #else, #endif sequence, can clang generate AST with conditional nodes? How much effort would be needed?


cfe-dev mailing list
[hidden email]