| 18 | namespace details { |
| 19 | |
| 20 | inline const char* Normalize(const std::string& arg) |
| 21 | { |
| 22 | static constexpr const char emptyString[]{""}; |
| 23 | |
| 24 | if(arg.empty()) { |
| 25 | return emptyString; |
| 26 | } |
| 27 | |
| 28 | return arg.c_str(); |
| 29 | } |
| 30 | //----------------------------------------------------------------------------- |
| 31 | |
| 32 | inline uint64_t Normalize(const llvm::APInt& arg) |