[cfe-dev] libclang: failing assert
Argyrios Kyrtzidis
kyrtzidis at apple.com
Sat Mar 16 10:48:49 PDT 2013
On Mar 16, 2013, at 3:09 AM, Erik Verbruggen <erik.verbruggen at me.com> wrote:
> Hi,
>
> When using libclang's clang_annotateTokens, I have a consistently failing assert in CIndex.cpp, line 5429. This is for both 3.2 and trunk. When I comment the assert out, everything looks to be fine. Is this assert valid, and if so, what is it checking?
It makes sure that when lexing for preprocessor directives tokens, that any cursors produced will refer to the correct clang_tokenize'd token.
Are you able to provide a preprocessed file for testing ?
>
> Regards,
> Erik.
More information about the cfe-dev
mailing list