Make the searchfox test repo index the searchfox clang-plugin
Categories
(Webtools :: Searchfox, defect)
Tracking
(Not tracked)
People
(Reporter: botond, Unassigned)
References
Details
STR:
- Go to https://searchfox.org/mozilla-central/source/build/clang-plugin/mozsearch-plugin/MozsearchIndexer.cpp
- Click on any identifier
Expected results:
You can go to the identifier's declaration.
Actual results:
You cannot.
Comment 1•6 years ago
|
||
I think it's unlikely we will fix this, because it would mean building the clang-plugin a second time, with the clang-plugin loaded into clang. I don't know how amenable the Gecko build system is to doing such a thing, but I don't really want to try. We could, however, have the searchfox standalone test repo index the plugin in a dev environment. I suspect that for people working on making changes to this code that wouldn't be a huge burden.
I'll repurpose this bug for that.
Comment 2•4 months ago
|
||
The plugin is now indexed at https://searchfox.org/mozsearch/source/clang-plugin/MozsearchIndexer.cpp as part of indexing mozsearch. I didn't change the self-indexing searchfox tree index it, though. That probably is still a nice thing to do so that someone who makes local changes to the indexer can index them. (In comparison, the mozsearch index will only index what the main branch of the github repo has.) So leaving this bug open and we can presumably propagate the build script changes from mozsearch into the searchfox build script.
Description
•