r238876 - Correct DriverInternals.rst: ccc-print-options is gone.

Richard Smith richard at metafoo.co.uk
Tue Jun 2 16:29:38 PDT 2015


On 2 Jun 2015 3:13 pm, "Douglas Katzman" <dougk at google.com> wrote:
>
> Author: dougk
> Date: Tue Jun  2 17:06:32 2015
> New Revision: 238876
>
> URL: http://llvm.org/viewvc/llvm-project?rev=238876&view=rev
> Log:
> Correct DriverInternals.rst: ccc-print-options is gone.
>
> Was removed in svn r189802.
>
> Modified:
>     cfe/trunk/docs/DriverInternals.rst
>
> Modified: cfe/trunk/docs/DriverInternals.rst
> URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/DriverInternals.rst?rev=238876&r1=238875&r2=238876&view=diff
>
==============================================================================
> --- cfe/trunk/docs/DriverInternals.rst (original)
> +++ cfe/trunk/docs/DriverInternals.rst Tue Jun  2 17:06:32 2015
> @@ -138,12 +138,12 @@ The driver functionality is conceptually
>     this vector instead of storing its values directly.
>
>     The clang driver can dump the results of this stage using the
> -   ``-ccc-print-options`` flag (which must precede any actual command
> +   ``-###`` flag (which must precede any actual command
>     line arguments).

This can be cleaned up further: -### doesn't need to be first in the
command line.

> For example:
>
>     .. code-block:: console
>
> -      $ clang -ccc-print-options -Xarch_i386 -fomit-frame-pointer
-Wa,-fast -Ifoo -I foo t.c
> +      $ clang -### -Xarch_i386 -fomit-frame-pointer -Wa,-fast -Ifoo -I
foo t.c
>        Option 0 - Name: "-Xarch_", Values: {"i386",
"-fomit-frame-pointer"}
>        Option 1 - Name: "-Wa,", Values: {"-fast"}
>        Option 2 - Name: "-I", Values: {"foo"}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150602/7518c476/attachment.html>


More information about the cfe-commits mailing list