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
- Build Status
Buildable 4857 Build 4857: arc lint + arc unit
Event Timeline
Comment Actions
Generally, looks good, modulo the comment.
llvm/lib/Support/CachePruning.cpp | ||
---|---|---|
193 | 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. |
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.