[cfe-dev] Command line encoding in JSON Compilation Database

Florian Weimer fweimer at redhat.com
Mon Jul 9 01:32:33 PDT 2012


On 07/06/2012 07:58 PM, Manuel Klimek wrote:
> On Fri, Jul 6, 2012 at 10:13 AM, Arnaud de Grandmaison

>     Within the clang environment, you do not need to parse it to an argv by
>     yourself : the CompilationDatabase stuff does that for you. Regarding
>     shell expansion, Manuel can probably shed some light on that part.
>
>
> Correct. The string is "shell escaped", but " and \ are the only special
> characters. No expansion is happening.

Thank you all for your explanations, it makes sense.  Perhaps a few 
words can be added to the documentation?

-- 
Florian Weimer / Red Hat Product Security Team





More information about the cfe-dev mailing list