[clang-tools-extra] r189008 - Introducing new tool clang-replace

Sean Silva silvas at purdue.edu
Thu Aug 29 15:46:57 PDT 2013


On Mon, Aug 26, 2013 at 3:10 PM, Manuel Klimek <klimek at google.com> wrote:

> On Mon, Aug 26, 2013 at 9:08 PM, Vane, Edwin <edwin.vane at intel.com> wrote:
>
>>
>>
>> From: Manuel Klimek [mailto:klimek at google.com]
>> Sent: Saturday, August 24, 2013 2:38 AM
>> To: David Blaikie; Vane, Edwin
>> Cc: Sean Silva; cfe-commits at cs.uiuc.edu
>> Subject: Re: [clang-tools-extra] r189008 - Introducing new tool
>> clang-replace
>>
>> ...
>>
>> > I tend to agree that clang-apply-replacements is probably a better
>> name. Edwin?
>>
>> I'm fine renaming the tool to anything that is more satisfying. I have no
>> strong opinion on the matter other than I want the name to be short so it
>> doesn't take forever to invoke it from the command line.
>>
>
> Sean? Ideas for names that fit this description?
>

Realistically, any name that starts with `clang-[^3cft]` is going to be
equally hard/easy to type, since it's `cla<TAB>-X<Tab>`, where X is the
first letter of the second "word" ([^3cft] comes from conflicts with
clang-3.*, clang-check, clang-format, clang-tblgen).

If typing this very frequently is necessary (such as for a person
developing it), I recommend an alias:
echo 'alias car=clang-apply-replacements' >> ~/.$(basename $SHELL)rc

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130829/9f161496/attachment.html>


More information about the cfe-commits mailing list