sammccall marked an inline comment as done.
sammccall added a comment.

In https://reviews.llvm.org/D39799#919388, @ilya-biryukov wrote:

> I can see that `FixedCompilationDatabase` does not set a working directory. 
> Is this something we may want to have for `compile_flags.txt` or one would 
> need to resort to `compile_commands.json` to get this?
>  E.g., I'd find it useful to add includes with paths relative to 
> `compile_flags.txt` by putting `-Iproject-dep/include` there.


Currently the working directory is always the parent of `compile_flags.txt` as 
you suggest.
Maybe this isn't great though - sometimes it might be important that the WD is 
the parent of the source file?


https://reviews.llvm.org/D39799



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to