[cfe-dev] Can't resolve Sema::ActOnClassTemplate, clang-cc build fail

ether zhhb etherzhhb at gmail.com
Sat Apr 18 01:54:25 PDT 2009


I try to comment

Sema S(PP, Ctx, *Consumer, CompleteTranslationUnit);

in ParseAST.cpp at line 40 and change

Parser P(PP, S);

in ParseAST.cpp at line 41 to

Parser P(PP, *((Sema *)0));

and then build it, it could be build without error message.

It seem that something wrong in the constructor of Sema? but I can't
see any reference to "ActOnClassTemplate" there.



More information about the cfe-dev mailing list