[PATCH] clang-modernize: Add SubprocessCompilationDatabase

Manuel Klimek klimek at google.com
Fri Oct 11 09:04:24 PDT 2013


On Thu, Oct 10, 2013 at 3:34 PM, Edwin Vane <edwin.vane at intel.com> wrote:

>
>   The problem is the FixedCompilationDatabase mangles the arguments you
> pass. FixedCompilationDatabase as a result has some preconditions: the name
> of the compiler should not be present nor should be the filename to operate
> on. Check CompilationDatabase.h for a better description. As stated in the
> patch summary we need a simpler compilation database that simply accepts a
> full list of args and then provides those same args back upon request.
>
>   I'll fix the comment and add a test for -c -c
>

I still don't understand this explanation. Can you elaborate, why calling
"tool -- <command line args>" doesn't work if you want to subprocess.

(I also don't understand yet why you want to subprocess out, but that's a
different topic - is it to run them in parallel?)


>
> http://llvm-reviews.chandlerc.com/D1877
> _______________________________________________
> 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/20131011/4b761154/attachment.html>


More information about the cfe-commits mailing list