We should allow symbols from any scope in dexp results, othewise
find StringRef doesn't return any results (llvm::StringRef).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clangd/index/dex/dexp/Dexp.cpp | ||
---|---|---|
55 ↗ | (On Diff #173673) | I don't think you would want AnyScope here. For example, if QualifiedName is std::string, you can also get llvm::StringRef in the results. |
138 ↗ | (On Diff #173673) | I think what you actually want is Request.AnyScope = Scopes.empty()? It doesn't seem useful to set AnyScope when scopes are provided. |
clangd/index/dex/dexp/Dexp.cpp | ||
---|---|---|
55 ↗ | (On Diff #173673) | Yeah, the input is required qualified name, I misthought that we can use unqualified name. |