[cfe-dev] clang_codeCompleteAt returning invalid completion results

Douglas Gregor dgregor at apple.com
Wed Feb 20 11:30:36 PST 2013


On Feb 20, 2013, at 10:31 AM, jaytee <aloha_arts at yahoo.com> wrote:

> Hello again! and thank you for your reply, Doug!
> So this basically means that CXCursor_NotImplemented completion results are
> fine to use, but I cannot distinguish between the types of these results
> (e.g. field vs enum)?

Correct.

> Do you know perhaps if I will get something similar to this for other types
> of cursors (e.g. variables),  or does this only happen for struct/union
> fields?


I have no idea. Clang 2.9 is three major releases and nearly two years old, so I don't recall what bugs it had in this area. I'd expect modern Clang's to provide cursor kinds for most completions.

	- Doug



More information about the cfe-dev mailing list