project: Expand response files

This commit is contained in:
Fangrui Song 2022-01-17 21:08:34 -08:00
parent c7596e3712
commit 9a90b44b17

View File

@ -415,6 +415,9 @@ void Project::loadDirectory(const std::string &root, Project::Folder &folder) {
rmdir(cdbDir.c_str()); rmdir(cdbDir.c_str());
#endif #endif
} }
#if LLVM_VERSION_MAJOR >= 10
cdb = tooling::expandResponseFiles(std::move(cdb), vfs::getRealFileSystem());
#endif
ProjectProcessor proc(folder); ProjectProcessor proc(folder);
StringSet<> seen; StringSet<> seen;