Basically I just wanted to write simple code without figuring out a lot of new interfaces. If Yang had written the new code, I'm sure he would have used Clang.

It could be ported to use the Clang interfaces at some point, but on the other hand I don't see a strong motivation to do this since the custom lexer is not very much code to maintain.

John


On 7/12/13 7:16 AM, Konstantin Tokarev wrote:
Hi all,

I'm curious why custom flex-generated parser was used to implement rm-toks-* 
passes
instead of clang which is already used in the project. Is clex faster than
clang::Preprocessor?

Reply via email to