<div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Sorry if this email is off topic.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Today I've got this sticky idea, to do a semantic highlighting of C++ source in Vim using YouCompleteMe's infrastructure.</div><div style="font-size:12.8px">For the start I would like to be able get  class, namespace, enum... names and highlight them.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">So I dug in, and didn't find anything similar in the libclang C API (the one used by YCM).</div><div style="font-size:12.8px">I'm not sure how to do it right with the C++ API: to traverse the whole AST or there is a better/cheaper way to do it? (for example judging by its name ASTContext::getTypes() is doing something similar)<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">So if anyone is interested in the topic and is willing to help me by giving initial direction or guiding me, and if I will be allowed to add such functionality into the libclang C API :) I will be glad to work on this.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px">Davit Samvelyan</div></div>