[PATCH] D54427: [clangd] Allow symbols from AnyScope in dexp.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 12 08:01:08 PST 2018
hokein updated this revision to Diff 173676.
hokein marked 2 inline comments as done.
hokein added a comment.
Address comments.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54427
Files:
clangd/index/dex/dexp/Dexp.cpp
Index: clangd/index/dex/dexp/Dexp.cpp
===================================================================
--- clangd/index/dex/dexp/Dexp.cpp
+++ clangd/index/dex/dexp/Dexp.cpp
@@ -139,6 +139,7 @@
StringRef(this->Scopes).split(Scopes, ',');
Request.Scopes = {Scopes.begin(), Scopes.end()};
}
+ Request.AnyScope = Request.Scopes.empty();
// FIXME(kbobyrev): Print symbol final scores to see the distribution.
static const auto OutputFormat = "{0,-4} | {1,-40} | {2,-25}\n";
outs() << formatv(OutputFormat, "Rank", "Symbol ID", "Symbol Name");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54427.173676.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181112/45ffcae3/attachment.bin>
More information about the cfe-commits
mailing list