llvm-project
1fc090f7 - [clang][analyzer] Delay checking the ctu-dir (#150139)

Commit
7 days ago
[clang][analyzer] Delay checking the ctu-dir (#150139) This PR is part of an effort to remove file system usage from the command line parsing code. The reason for that is that it's impossible to do file system access correctly without a configured VFS, and the VFS can only be configured after the command line is parsed. I don't want to intertwine command line parsing and VFS configuration, so I decided to perform the file system access after the command line is parsed and the VFS is configured - ideally right before the file system entity is used for the first time. This patch delays checking that `ctu-dir` is an existing directory.
Author
Parents
Loading