[clangd] fix unintended fallthrough in scope-based scoring

llvm-svn: 334170
This commit is contained in:
Sam McCall 2018-06-07 08:16:36 +00:00
parent 7b852cd814
commit c22c9aa414

View File

@ -216,10 +216,13 @@ float SymbolRelevanceSignals::evaluate() const {
break;
case FileScope:
Score *= 1.5;
break;
case ClassScope:
Score *= 2;
break;
case FunctionScope:
Score *= 4;
break;
}
}