[cfe-dev] Libclang patch adding accessibility to codecompletion

Erik Verbruggen erik.verbruggen at me.com
Wed Nov 16 07:30:57 PST 2011


On 16-11-11 7:46, Ethan Steinberg wrote:
> The project I am currently working on(code completion for codeblocks
> using libclang) requires the ability to see the accessibility(private,
> protected, public) of a CXCompletionResult.
> The code already exists in the c++ libraries, so this simply adds a
> member to CXCompletionResult and calls the c++ function.
>
> Sorry if this is a little clumsy, it is my first patch for this project.

I had the same idea for Qt Creator, but Douglas Gregor convinced me that 
accessible-from-current-scope was more useful. So maybe 
CXAvailability_NotAccessible is "better"?

-- Erik.



More information about the cfe-dev mailing list