| 30 | } // namespace details |
| 31 | |
| 32 | inline std::string ToString(const llvm::APSInt& val) |
| 33 | { |
| 34 | if(1 == val.getBitWidth()) { |
| 35 | return details::ConvertToBoolString(0 != val.getExtValue()); |
| 36 | } |
| 37 | |
| 38 | return llvm::toString(val, 10); |
| 39 | } |
| 40 | //----------------------------------------------------------------------------- |
| 41 | |
| 42 | inline uint64_t Normalize(const llvm::APInt& arg) |
no test coverage detected