phosek added a comment.

This change is trying to address the issues raised in D83154 
<https://reviews.llvm.org/D83154>. There are still some open questions:

- Is `-fsource-dir` the best name for this flag?
- I'm not sure if `make_relative` should be applied to all source paths, or 
only paths that start with `SourceDir` which would exclude system paths outside 
of the source directory (e.g. it's probably undesirable to relativize paths to 
`/usr/include`)?
- If we decide to exclude source paths outside of the source directory, should 
we support `-fsource-dir` to be specified more then once to handle multiple 
source directories?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87928/new/

https://reviews.llvm.org/D87928

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

Reply via email to