List of type names visible at this position
I need a way to programmatically get a list of all type names that are visible at a given position in a C ++ source, even if the source is incomplete (editable for example).
I understand that LibClang probably already creates such a list under the hoods in the Code Completion module , but as far as I can tell from the spec, it won't expand it.
Now I'm not afraid to get my hands dirty with the Klang source, but before I started hacking it, is there an easy way that I can't get what I need? Also, is there another library or command line tool that allows me to get the list?
+3
source to share