[cfe-dev] extend Clang parser.

Alejandro Jimenez whilealex at gmail.com
Fri Sep 20 08:10:17 PDT 2013


Hi everyone

I am new to Clang, but I am trying to support the following syntax on
variable declaration for a given language.

int a : qualifier;

float f(int x : qualifier) : qualifier
{

}

for qualifier a single word without spaces

Which is the best way to approach?

I see that there is an ASTConsumer, but didnt found any ParserConsumer, is
there anything similar?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130920/d66b2229/attachment.html>


More information about the cfe-dev mailing list