[PATCH] D54427: [clangd] Allow symbols from AnyScope in dexp.

2018-11-12 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL34: [clangd] Allow symbols from AnyScope in dexp. (authored by hokein, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D54427 Files: clang-t

[PATCH] D54427: [clangd] Allow symbols from AnyScope in dexp.

2018-11-12 Thread Haojian Wu via Phabricator via cfe-commits
hokein added inline comments. Comment at: clangd/index/dex/dexp/Dexp.cpp:55 FuzzyFindRequest Request; + Request.AnyScope = true; // Remove leading "::" qualifier as FuzzyFind doesn't need leading "::" ioeric wrote: > I don't think you would want AnyScope h

[PATCH] D54427: [clangd] Allow symbols from AnyScope in dexp.

2018-11-12 Thread Haojian Wu via Phabricator via cfe-commits
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 =

[PATCH] D54427: [clangd] Allow symbols from AnyScope in dexp.

2018-11-12 Thread Eric Liu via Phabricator via cfe-commits
ioeric added inline comments. Comment at: clangd/index/dex/dexp/Dexp.cpp:55 FuzzyFindRequest Request; + Request.AnyScope = true; // Remove leading "::" qualifier as FuzzyFind doesn't need leading "::" I don't think you would want AnyScope here. For example

[PATCH] D54427: [clangd] Allow symbols from AnyScope in dexp.

2018-11-12 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: ioeric. Herald added subscribers: kadircet, arphaman, jkorous, MaskRay, ilya-biryukov. We should allow symbols from any scope in dexp results, othewise `find StringRef` doesn't return any results (llvm::StringRef). Repository: rCTE Clang T