diff --git a/src/project.cc b/src/project.cc index c02bd6b6..d767231d 100644 --- a/src/project.cc +++ b/src/project.cc @@ -415,6 +415,9 @@ void Project::loadDirectory(const std::string &root, Project::Folder &folder) { rmdir(cdbDir.c_str()); #endif } +#if LLVM_VERSION_MAJOR >= 10 + cdb = tooling::expandResponseFiles(std::move(cdb), vfs::getRealFileSystem()); +#endif ProjectProcessor proc(folder); StringSet<> seen;