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

Arnaud de Grandmaison arnaud.allarddegrandmaison at parrot.com
Fri Jul 6 01:13:25 PDT 2012


On 07/06/2012 09:39 AM, Florian Weimer wrote:
> According to http://clang.llvm.org/docs/JSONCompilationDatabase.html, 
> the JSON Compilation Database uses a single string to describe the 
> actual compile command, and not an array.  Is this string subject to any 
> kind of shell expansion?  How is it supposed to be parsed into an argv 
> array?
>

Hi Florian,

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.

Cheers,

-- 
Arnaud de Grandmaison




More information about the cfe-dev mailing list