Hi, I think that class Token should be declared in include/clang/Lex/PPCallbacks.h. Token is used there but if the file is included before anything that declares Token, compile fails. Regards, Martin Doucha