MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / ToString

Function ToString

InsightsStrCat.h:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30} // namespace details
31
32inline 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
42inline uint64_t Normalize(const llvm::APInt& arg)

Callers 2

NormalizeFunction · 0.85
NormalizeFunction · 0.85

Calls 1

ConvertToBoolStringFunction · 0.85

Tested by

no test coverage detected