Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Codan does not see symbols from prebuilt index

We have an editor for the custom language that has a standard library that does not require explicitly including the header files.

In CDT 8.0.2 we created a prebuilt index for our library and everything worked wonderfully - code assist, Codan, highlightings, etc. Now we are migrating to 8.1.0 stream and noticed that Codan now highlights those symbols as undefined (code assist, hyperlink navigation still work as before). I am currently debugging it and noticed that Codan uses a different index, the one that does not include the prebuilt index fragment.

Is this a regression or this is a fix for some problem (I understand that old behaviour was not entirely correct - but it is still partially preserved, e.g. in the code assist)? I suppose this change was introduced as a part of allowing including same header file differently.

Should I try to make Codan consider symbols from these fragments or there is another approach to make the editor recognize implicit includes?

Best regards,
Eugene

Back to the top