forked from OSchip/llvm-project
Revert "[clangd] FileDistance: temporarily disable in CodeComplete, it's behaving badly"
The bad behavior seems to have been fixed by r336242 after all. I thought it was persisting, but that was a different bug fixed by D48940 llvm-svn: 336320
This commit is contained in:
parent
27be58b307
commit
f84dd024de
|
@ -1142,8 +1142,7 @@ private:
|
|||
SymbolQualitySignals Quality;
|
||||
SymbolRelevanceSignals Relevance;
|
||||
Relevance.Query = SymbolRelevanceSignals::CodeComplete;
|
||||
// FIXME: re-enable this after working out why it eats memory.
|
||||
// Relevance.FileProximityMatch = FileProximity.getPointer();
|
||||
Relevance.FileProximityMatch = FileProximity.getPointer();
|
||||
auto &First = Bundle.front();
|
||||
if (auto FuzzyScore = fuzzyScore(First))
|
||||
Relevance.NameMatch = *FuzzyScore;
|
||||
|
|
Loading…
Reference in New Issue