[cfe-dev] Adding a new stmt node

Zheng Wang jason.wangz at gmail.com
Tue Sep 6 09:17:20 PDT 2011


Hi

I tried to add a new AST stmt node called oclSync. I have implemented a
oclSync class and add the definition to StmtNodes.td.

When compiling clang, I got an error as:

undefined reference to `clang::RecursiveASTVisitor<(anonymous
namespace)::BoostConASTConsumer>::TraverseOclSync(clang::OclSync*)'

I realise that I need to implement the TraverseOclSync() method. But where
should I implement it?

Cheers,
Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110906/e6c68447/attachment.html>


More information about the cfe-dev mailing list