Repository navigation
Commit e418933
authored
Fix #15259 (isAliasOf: alias values are filtered again for every AST node in the expression) (#9062)
The values of the reference token were filtered again for every node in
the expression. Filter them once and skip the AST search when there is
nothing that can match.
No changed warnings in a 50 package debian corpus, ValueFlow ~10%
faster.1 parent 02148a4 commit e418933
2 files changed
Lines changed: 30 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1093 | 1103 | | |
1094 | 1104 | | |
1095 | 1105 | | |
1096 | | - | |
| 1106 | + | |
1097 | 1107 | | |
1098 | 1108 | | |
1099 | 1109 | | |
1100 | 1110 | | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1114 | 1116 | | |
1115 | 1117 | | |
1116 | 1118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8484 | 8484 | | |
8485 | 8485 | | |
8486 | 8486 | | |
| 8487 | + | |
| 8488 | + | |
| 8489 | + | |
| 8490 | + | |
| 8491 | + | |
| 8492 | + | |
| 8493 | + | |
| 8494 | + | |
| 8495 | + | |
| 8496 | + | |
| 8497 | + | |
| 8498 | + | |
| 8499 | + | |
| 8500 | + | |
8487 | 8501 | | |
8488 | 8502 | | |
8489 | 8503 | | |
| |||
0 commit comments