Do you think it would help to add examples?
On Tue, Jul 10, 2012 at 1:05 AM, Manuel Klimek <[email protected]> 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 > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
