mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
[clangd] fix unintended fallthrough in scope-based scoring
llvm-svn: 334170
This commit is contained in:
parent
7b852cd814
commit
c22c9aa414
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user