[cfe-commits] r159987 - /cfe/trunk/docs/JSONCompilationDatabase.html

Manuel Klimek klimek at google.com
Thu Jul 12 11:35:49 PDT 2012


On Tue, Jul 10, 2012 at 5:18 PM, Matt Beaumont-Gay <matthewbg at google.com>wrote:

> On Tue, Jul 10, 2012 at 9:16 AM, Manuel Klimek <klimek at google.com> wrote:
> > On Tue, Jul 10, 2012 at 6:12 PM, Matt Beaumont-Gay <matthewbg at google.com>
> wrote:
> >> Do you think it would help to add examples?
> >
> > Was that a rhetorical question?
>
> No :)
>
> Let me rephrase: I would find this clearer with examples (but maybe
> I'm just slow).
>

Hm, I just realized that there is an example with quotes in there already -
anything specific you'd like to see?


>
> >
> >> On Tue, Jul 10, 2012 at 1:05 AM, Manuel Klimek <klimek at google.com>
> wrote:
> >>>
> >>> Author: klimek
> >>> Date: Tue Jul 10 03:05:54 2012
> >>> New Revision: 159987
> >>>
> >>> URL: http://llvm.org/viewvc/llvm-project?rev=159987&view=rev
> >>> Log:
> >>> Update the docs with specifics about escaping of compile commands.
> >>>
> >>>
> >>> Modified:
> >>>     cfe/trunk/docs/JSONCompilationDatabase.html
> >>>
> >>> Modified: cfe/trunk/docs/JSONCompilationDatabase.html
> >>> URL:
> >>>
> http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/JSONCompilationDatabase.html?rev=159987&r1=159986&r2=159987&view=diff
> >>>
> >>>
> ==============================================================================
> >>> --- cfe/trunk/docs/JSONCompilationDatabase.html (original)
> >>> +++ cfe/trunk/docs/JSONCompilationDatabase.html Tue Jul 10 03:05:54
> 2012
> >>> @@ -71,7 +71,9 @@
> >>>  compiled with different configurations.</li>
> >>>  <li><b>command:</b> The compile command executed. After JSON
> unescaping,
> >>> this must
> >>>  be a valid command to rerun the exact compilation step for the
> >>> translation unit in
> >>> -the environment the build system uses.</li>
> >>> +the environment the build system uses. Parameters use shell quoting
> and
> >>> shell escaping
> >>> +of quotes, with '"' and '\' being the only special characters. Shell
> >>> expansion is
> >>> +not supported.</li>
> >>>  </ul>
> >>>  </p>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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/20120712/5d302b18/attachment.html>


More information about the cfe-commits mailing list