(ty: &str)
| 760 | } |
| 761 | |
| 762 | pub fn is_integer_ty(ty: &str) -> bool { |
| 763 | matches!( |
| 764 | ty, |
| 765 | "uint8_t" |
| 766 | | "uint16_t" |
| 767 | | "uint32_t" |
| 768 | | "uint64_t" |
| 769 | | "int8_t" |
| 770 | | "int16_t" |
| 771 | | "int32_t" |
| 772 | | "int64_t" |
| 773 | | "int" |
| 774 | | "unsigned int" |
| 775 | | "short" |
| 776 | | "long" |
| 777 | | "unsigned short" |
| 778 | | "unsigned long" |
| 779 | | "long long" |
| 780 | | "unsigned long long" |
| 781 | | "size_t" |
| 782 | ) |
| 783 | } |
| 784 | |
| 785 | pub fn is_unsigned_integer_ty(ty: &str) -> bool { |
| 786 | matches!( |
no outgoing calls
no test coverage detected