This is a safeguard against data loss if the user specifies a directory
that is not a cache directory. Teach the existing cache pruning clients
to create files with appropriate names.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Generally, looks good, modulo the comment.
llvm/lib/Support/CachePruning.cpp | ||
---|---|---|
193 ↗ | (On Diff #92223) | We should just ignore files not created by LLVM. If a user decided to put something there, then she has a reason. And there's no actual harm to our code, if these files exist but ignored. |
Comment Actions
- Address review comments
llvm/lib/Support/CachePruning.cpp | ||
---|---|---|
193 ↗ | (On Diff #92223) | Makes sense, done. |