[PATCH] D84811: [clangd] Add an option to exclude symbols outside of project root from index
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 06:11:36 PDT 2020
hokein added inline comments.
================
Comment at: clang-tools-extra/clangd/indexer/IndexerMain.cpp:70
SymbolCollector::Options Opts;
+ Opts.FileFilter = FileFilter;
Opts.CountReferences = true;
----------------
`FileFilter` seems more promising, but there are some FIXMEs ("use the result to filter out symbols.") in the SymbolCollector.cpp` -- looks like the SymbolCollector doesn't support this yet, sigh...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84811/new/
https://reviews.llvm.org/D84811
More information about the cfe-commits
mailing list