[cfe-dev] clang_codeCompleteAt returning invalid completion results

jaytee aloha_arts at yahoo.com
Wed Feb 20 01:55:32 PST 2013


Hello,

I've noticed that clang_codeCompleteAt (using clang 2.9 - unable to upgrade
clang version in my application) is returning invalid completion results,
although the text chunks of those results appear to be valid. The following
is a simple example:
typedef union _myUnionType {
    union {
        int a;
    };
} myUnionType;
void func() {
    myUnionType var;
    var.
}
'var.' is returning a single completion result having a
CXCursor_NotImplemented cursor kind.
Does anybody know if there's any risk in using CXCursor_NotImplemented
completion results?

Thank you!



--
View this message in context: http://clang-developers.42468.n3.nabble.com/clang-codeCompleteAt-returning-invalid-completion-results-tp4030515.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list