[PATCH] D70225: [clangd] Simplify the code in XRefs
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 03:08:00 PST 2019
hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.
Thanks, the title is a bit confusing, the modified code is about the index, not XRefs.
================
Comment at: clang-tools-extra/clangd/index/Merge.cpp:116
// files.
- More |= Static->refs(Req, [&](const Ref &O) {
if (DynamicIndexFileURIs.count(O.Location.FileURI))
----------------
I assume the potential UB is this code?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70225/new/
https://reviews.llvm.org/D70225
More information about the cfe-commits
mailing list