[LLVMdev] Integer to string
pablo barrio lópez-cortijo
p.barrio.lopez at gmail.com
Thu Oct 13 02:36:56 PDT 2011
I just realized that the target version is LLVM 2.0, so most likely the llvm::StringStream is deprecated by now.
Thanks for your response!
On 12/10/2011, at 17:10, Garrison Venn wrote:
> Hi Pablo,
> Can you provide a link to the document containing a reference to
> llvm::StringStream? I've looked in both the llvm coding standards,
> and llvm programming manual for versions: ToT (3.0), 2.9 (which
> seems to be the same as ToT), and 2.8. Obviously my search is
> missing something.
> Thanks in advance
> On Oct 12, 2011, at 8:18, Pablo Barrio wrote:
>> 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,
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev