[LLVMdev] SmallString for CommandLine options?

James Molloy James.Molloy at arm.com
Mon Sep 5 00:27:25 PDT 2011


Hi,

It looks like quite a small diff to add SmallString support to cl - just subclass (or copy-paste) the template specialization for std::string.

Perhaps you could have a go at adding the support yourself and sending a patch?

Cheers,

James

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Talin
Sent: 05 September 2011 05:14
To: LLVM Developers Mailing List
Subject: [LLVMdev] SmallString for CommandLine options?

I've managed to eliminate nearly all uses of std::string from my frontend. About the only ones remaining are all of the occurrences of cl::opt<std::string>. Is it likely that at some point we'll see support for SmallString in the command-line lib?

--
-- Talin

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110905/678241e8/attachment.html>


More information about the llvm-dev mailing list