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

Manuel Klimek klimek at google.com
Tue Jul 10 01:06:36 PDT 2012


On Mon, Jul 9, 2012 at 10:32 AM, Florian Weimer <fweimer at redhat.com> wrote:
> 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?

Updated: http://clang.llvm.org/docs/JSONCompilationDatabase.html
Please let me know if that's what you were looking for.

Thanks!
/Manuel



More information about the cfe-dev mailing list