Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT index: get binding for macro

Hi,

Having a CDT index (fast index) generated, I’m trying to query the index to get a binding for a macro LEN: (#define LEN 16)

IIndexBinding[] bindings = index.findBindings(symbol, IndexFilter.ALL, null);

The index is returning no bindings for this macro. However calling the previous code with a function name for instance return a valid binding.

Is there a way to accomplish this using the index? (org.eclipse.cdt.core_4.0.1.200709241202)

Regards,

Johnny


Back to the top