[LLVMdev] Integer to string
Pablo Barrio
p.barrio.lopez at gmail.com
Wed Oct 12 05:18:21 PDT 2011
Hi,
I need to convert an integer into a string. I would normally do that in C++ by using the StringStream class, but the LLVM coding standards discourage using that class. The same coding standards suggest to use llvm:StringStream instead, but I cannot find that class anywhere; furthermore, the header file where it was supposed to be (according to the coding standards) doesn't even exist.
Is there any LLVM-native way to do that?
What I want to do is to replicate a function several times and append a sequence number to each replica's name.
Thanks ahead,
Pablo
More information about the llvm-dev
mailing list