Commit 805bcbe
authored
drop LEX_STRING from VDF arg/return (#420)
* drop LEX_STRING from VDF arg/return helpers (#415)
ValidateAndConvertVDFArguments immediately decomposed const LEX_STRING&
extension_name into a std::string at line 1280, used only to satisfy
make_qualified_base_name and ResolveTypeToContext. SetVDFReturnTypeContext
wrapped its parameter via to_string_view() at the inner ResolveTypeToContext
call instead of the outer boundary. Take std::string_view directly in both
so callers do the conversion once via to_string_view() from
include/lex_string.h. Follow-up to #412; surfaced in #257 review thread.
* format: fix clang-format wrapping in #415
CI villint flagged two line-wrap nits caused by the longer
extension_name / to_string_view(...) text replacing ext_name /
m_udf->extension_name in #415.1 parent 60b9974 commit 805bcbe
3 files changed
Lines changed: 17 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1251 | 1251 | | |
1252 | 1252 | | |
1253 | 1253 | | |
1254 | | - | |
| 1254 | + | |
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
| |||
1277 | 1277 | | |
1278 | 1278 | | |
1279 | 1279 | | |
1280 | | - | |
1281 | 1280 | | |
1282 | 1281 | | |
1283 | 1282 | | |
| |||
1286 | 1285 | | |
1287 | 1286 | | |
1288 | 1287 | | |
1289 | | - | |
| 1288 | + | |
1290 | 1289 | | |
1291 | 1290 | | |
1292 | 1291 | | |
| |||
1329 | 1328 | | |
1330 | 1329 | | |
1331 | 1330 | | |
1332 | | - | |
| 1331 | + | |
1333 | 1332 | | |
1334 | 1333 | | |
1335 | 1334 | | |
| |||
1343 | 1342 | | |
1344 | 1343 | | |
1345 | 1344 | | |
1346 | | - | |
| 1345 | + | |
1347 | 1346 | | |
1348 | 1347 | | |
1349 | 1348 | | |
| |||
1374 | 1373 | | |
1375 | 1374 | | |
1376 | 1375 | | |
1377 | | - | |
| 1376 | + | |
1378 | 1377 | | |
1379 | 1378 | | |
1380 | 1379 | | |
| |||
1416 | 1415 | | |
1417 | 1416 | | |
1418 | 1417 | | |
1419 | | - | |
1420 | | - | |
| 1418 | + | |
| 1419 | + | |
1421 | 1420 | | |
1422 | 1421 | | |
1423 | 1422 | | |
| |||
1427 | 1426 | | |
1428 | 1427 | | |
1429 | 1428 | | |
1430 | | - | |
| 1429 | + | |
1431 | 1430 | | |
1432 | 1431 | | |
1433 | 1432 | | |
| |||
1437 | 1436 | | |
1438 | 1437 | | |
1439 | 1438 | | |
1440 | | - | |
| 1439 | + | |
1441 | 1440 | | |
1442 | 1441 | | |
1443 | 1442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
102 | | - | |
| 102 | + | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
0 commit comments