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

Matthieu Brucher via cfe-dev
Hi,

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?

Thanks,
-Riya


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev