commit | 978e3a274aae203a6c2b74094be791ac9e2662e5 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Oct 29 23:26:14 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Oct 29 23:26:14 2010 +0000 |
tree | 83b3740323283f63b4d50ce4b99fd05034e3db4f | |
parent | 1e592cba6bc1930e7a01dde8370e5345cef05723 [diff] |
Don't test isRegularFile before calling eraseFromDisk, since eraseFromDisk does the same check. This avoids a stat call in the common case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117744 91177308-0d34-0410-b5e6-96231b3b80d8