mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
Fixed a typo.
This commit is contained in:
parent
9475940089
commit
f3f2671d48
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class CxxModelsCache implements ICodanDisposable {
|
|||
return cfg;
|
||||
cfg = CxxControlFlowGraph.build(func);
|
||||
// TODO(Alena Laskavaia): Change to LRU.
|
||||
if (cfgmap.size() > 20) { // if too many function better drop the cash
|
||||
if (cfgmap.size() > 20) { // if too many function better drop the cache
|
||||
cfgmap.clear();
|
||||
}
|
||||
cfgmap.put(func, cfg);
|
||||
|
|
Loading…
Add table
Reference in a new issue