llvm-project
2e96cd65 - [clang][analyzer] Delay checking the model-path (#150133)

Commit
235 days ago
[clang][analyzer] Delay checking the model-path (#150133) 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 `model-path` is an existing directory.
Author
Parents
Loading