llvm-project
5ed35dfd - [Support] Add vfs::findFileInParentDirectories() (#242492)

Commit
1 day ago
[Support] Add vfs::findFileInParentDirectories() (#242492) Several tools look for a file in a directory and its parent directories, for example clang-format for .clang-format and clang-tidy for .clang-tidy, and each has its own loop for that. Add a function for it, which dsymutil will use to find the compilation-prefix-map.json files that compilation caching writes.
Parents
Loading