[all-commits] [llvm/llvm-project] 6f1a56: [clangd] Enable partial namespace matches for work...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Fri Oct 9 01:21:59 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6f1a56d37ac6a541f585846ab0734ab0bedc264f
https://github.com/llvm/llvm-project/commit/6f1a56d37ac6a541f585846ab0734ab0bedc264f
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2020-10-09 (Fri, 09 Oct 2020)
Changed paths:
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
Log Message:
-----------
[clangd] Enable partial namespace matches for workspace symbols
This will enable queries like "clangd::" to find symbols under clangd
namespace, without requiring full "clang::clangd::" qualification.
Since Fuzzyfind performs the search under all scopes and only boosts the symbols
from relevant namespaces, we might get symbols from non-matching namespaces.
This patch chooses to drop those as they clearly do not match the query.
Fixes https://github.com/clangd/clangd/issues/550.
Differential Revision: https://reviews.llvm.org/D88814
More information about the All-commits
mailing list