[cfe-dev] Adding a new stmt node

Nico Weber thakis at chromium.org
Tue Sep 6 09:52:11 PDT 2011


http://codesearch.google.com/#search/&q=RecursiveASTVisitor&type=cs –
include/clang/AST/RecursiveASTVisitor.h

On Tue, Sep 6, 2011 at 9:17 AM, Zheng Wang <jason.wangz at gmail.com> wrote:
> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>




More information about the cfe-dev mailing list