<div dir="ltr">Hi everyone<div><br></div><div>I am new to Clang, but I am trying to support the following syntax on variable declaration for a given language.</div><div><br></div><div>int a : qualifier;</div><div><br></div>
<div>float f(int x : qualifier) : qualifier</div><div>{</div><div><br></div><div>}</div><div><br></div><div>for qualifier a single word without spaces</div><div><br></div><div>Which is the best way to approach?</div><div>
<br></div><div>I see that there is an ASTConsumer, but didnt found any ParserConsumer, is there anything similar?</div><div><br></div></div>