Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse CDT Project, COVID-19, and my time

Hi Martin, as I said I don't know that part of cdt code, however I can try to understand how the code works.
I guess it's a file however, but I could be wrong.
Maybe there's someone here in the mailing list that already knows the answer :) 

Il ven 20 mar 2020, 20:41 15 knots <fifteenknots505@xxxxxxxxx> ha scritto:
Hi Marco,

I think I figured it out:
IScannerInfoProvider.getScannerInformation(IResource resource) it called by the indexer. It is already implemented by
org.eclipse.cdt.core.build.CBuildConfiguration and its sub-class org.eclipse.cdt.cmake.core.internal.CMakeBuildConfiguration.
My only question is: What is that resource that getScannerInformation() is queried for? Is is a file resource or the project?

Anyway, I already hooked in the compile_commands parser into CMakeBuildConfiguration. and will soon push it to gerrit.

-- OT
Here in Berlin, we are still allowed to leave the house but are strongly advised to do not. Luckily, I am used to commute by bike and can avoid public transport to get to work.



Am Fr., 20. März 2020 um 17:16 Uhr schrieb Mark B <marco.stornelli@xxxxxxxxx>:
I think you are talking about comment #22 of the bug report where Martin is asking support about some information of how indexer works. Unfortunately I don't know the indexer code too so I need to study to provide a guide to Martin. I try to do my best.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top