[cfe-commits] r72780 - in /cfe/trunk: include/clang/Driver/Options.def lib/Driver/Tools.cpp test/CodeGen/always_inline.c

Daniel Dunbar daniel at zuster.org
Wed Jun 3 12:18:21 PDT 2009


On Wed, Jun 3, 2009 at 11:47 AM, Mike Stump <mrs at apple.com> wrote:
> On Jun 3, 2009, at 11:25 AM, Daniel Dunbar wrote:
>>>
>>> So, umm, we now have four different options that just forward stuff to
>>> clang-cc?  This seems like overkill...
>>
>> Four?
>>
>> I tend to agree, perhaps we should kill -Xclang and just use -mllvm
>> (the latter has precedent llvm-gcc)?
>
> Hey, can I vote for killing -ccc-.*, ccc is dead! -Xclang (or some other
> spelling is fine).

You can vote for anything you like! :)

-ccc is fundamentally different from -Xclang, the -ccc options are
options to the *driver* itself (a subtle, but real, distinction).
Since they aren't intended to be used for non-clang-developers, I
don't see much reason to care what they are named. For -ccc- options
which provide useful features, we should figure out the right way to
make them part of the normal driver functionality (for example, adding
-triple).

 - Daniel




More information about the cfe-commits mailing list