Commit 561234d
authored
[lldb][Expression] Remove m_found_function_with_type_info in favour of boolean return (#141774)
I've been skimming this code while investigating a bug around module
lookup and this looked like something we could clean up. We don't need
to be carrying around state inside of `NameSearchContext` to tell us to
look into modules. We can signal this via a boolean return from
`LookupFunction`.1 parent 67d907a commit 561234d
File tree
3 files changed
+15
-14
lines changed- lldb/source/Plugins/ExpressionParser/Clang
3 files changed
+15
-14
lines changedLines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | | - | |
1051 | | - | |
1052 | 1050 | | |
1053 | 1051 | | |
1054 | 1052 | | |
| |||
1217 | 1215 | | |
1218 | 1216 | | |
1219 | 1217 | | |
1220 | | - | |
| 1218 | + | |
1221 | 1219 | | |
1222 | 1220 | | |
1223 | 1221 | | |
1224 | | - | |
| 1222 | + | |
1225 | 1223 | | |
1226 | 1224 | | |
1227 | 1225 | | |
| |||
1281 | 1279 | | |
1282 | 1280 | | |
1283 | 1281 | | |
| 1282 | + | |
| 1283 | + | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
| |||
1297 | 1297 | | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | | - | |
| 1300 | + | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
| |||
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
1316 | | - | |
| 1316 | + | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
| 1323 | + | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | 1328 | | |
1329 | | - | |
| 1329 | + | |
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
1335 | 1335 | | |
1336 | 1336 | | |
| 1337 | + | |
| 1338 | + | |
1337 | 1339 | | |
1338 | 1340 | | |
1339 | 1341 | | |
| |||
1432 | 1434 | | |
1433 | 1435 | | |
1434 | 1436 | | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
| 1437 | + | |
1439 | 1438 | | |
1440 | 1439 | | |
1441 | 1440 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
485 | 488 | | |
486 | 489 | | |
487 | 490 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments