Commit 21266fe
committed
Add type info interfaces motivated by numba
- Add `IsSameType` used for matching arg types between numba inferred signatures and CppOverloads in cppyy.
- Add type info reflection interfaces for integer, void pointer, signed and unsigned types.
- Also added interfaces `IsIntegral` and `IsFloating` that check if types have the respective representations. Used in the case of Numba where scoring based on reflection is required.1 parent f0f59f2 commit 21266fe
File tree
2 files changed
+70
-0
lines changed- include/clang/Interpreter
- lib/Interpreter
2 files changed
+70
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
512 | 531 | | |
513 | 532 | | |
514 | 533 | | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
515 | 537 | | |
516 | 538 | | |
517 | 539 | | |
518 | 540 | | |
519 | 541 | | |
520 | 542 | | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
521 | 546 | | |
522 | 547 | | |
523 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1549 | 1549 | | |
1550 | 1550 | | |
1551 | 1551 | | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
1552 | 1583 | | |
1553 | 1584 | | |
1554 | 1585 | | |
1555 | 1586 | | |
1556 | 1587 | | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
1557 | 1593 | | |
1558 | 1594 | | |
1559 | 1595 | | |
| |||
1573 | 1609 | | |
1574 | 1610 | | |
1575 | 1611 | | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
1576 | 1619 | | |
1577 | 1620 | | |
| 1621 | + | |
| 1622 | + | |
1578 | 1623 | | |
1579 | 1624 | | |
1580 | 1625 | | |
| |||
0 commit comments