<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="http://llvm.org/releases/2.0/docs/CodingStandards.html">http://llvm.org/releases/2.0/docs/CodingStandards.html</a><div><br></div><div>I just realized that the target version is LLVM 2.0, so most likely the llvm::StringStream is deprecated by now.</div><div><br></div><div>Thanks for your response!</div><div><br><div><div>On 12/10/2011, at 17:10, Garrison Venn wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Pablo,<br><br>Can you provide a link to the document containing a reference to <br>llvm::StringStream? I've looked in both the llvm coding standards, <br>and llvm programming manual for versions: ToT (3.0), 2.9 (which <br>seems to be the same as ToT), and 2.8. Obviously my search is <br>missing something.<br><br>Thanks in advance<br><br>Garrison<br><br>On Oct 12, 2011, at 8:18, Pablo Barrio wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is there any LLVM-native way to do that?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What I want to do is to replicate a function several times and append a sequence number to each replica's name.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks ahead,<br></blockquote><blockquote type="cite">Pablo<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">LLVM Developers mailing list<br></blockquote><blockquote type="cite"><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br></blockquote><blockquote type="cite"><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote><br><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></div></blockquote></div><br></div></body></html>