https://github.com/cachemeifyoucan commented:

Is it better if this optimization happens really early in the process since you 
only visit all the options in CI? In that case, you can just reset the 
`CurrentWorkingDirectory` in the VFS so all the searching is done without CWD. 
This avoids any hard to debug issues if some options are not taken care of 
(needs CWD but not checked) but the trade off is more explicit errors during 
scanning.

https://github.com/llvm/llvm-project/pull/124786
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to