[cfe-dev] Stopping the execution of an ASTConsumer
Jorge Fernández Fabeiro
fabeirojorge at gmail.com
Mon Nov 14 04:00:31 PST 2011
Hello,
I'm using Clang to parse a file with C source code in order to search for
some annotations previously I have defined. When the visitor finds an
annotation, it's supposed to invoke a function that makes some
source-to-source transformations in the file passed. But, in some cases,
the annotation format can be incorrect, so the code visiting should be
stopped, not visiting any node anymore. Is that possible?
Thanks,
Jorge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111114/6f8aec88/attachment.html>
More information about the cfe-dev
mailing list