[PATCH] D53433: [clangd] auto-index stores symbols per-file instead of per-TU.
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 02:25:34 PDT 2018
kadircet added inline comments.
================
Comment at: clangd/index/SymbolCollector.cpp:619
+ shouldIndexFile(SM, SM.getFileID(Loc), Opts, &FilesToIndexCache);
+ if (auto DefLoc = getTokenLocation(Loc, ND.getASTContext().getSourceManager(),
Opts, ASTCtx->getLangOpts(), FileURI))
----------------
`ND.getASTContext().getSourceManager()` -> `SM` ?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53433
More information about the cfe-commits
mailing list