diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-27 18:26:26 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-27 18:26:26 +0000 |
| commit | 73c23a71820d561ee273ab3e4db555efd7c1fc38 (patch) | |
| tree | 8205e9c01e7520369e101c084a200a4af57a6efa /libcxx/test | |
| parent | 96eb9ab0478918cccbda79c4119aa5323cdb5034 (diff) | |
| download | bcm5719-llvm-73c23a71820d561ee273ab3e4db555efd7c1fc38.tar.gz bcm5719-llvm-73c23a71820d561ee273ab3e4db555efd7c1fc38.zip | |
Small improvements to createOutputFile.
* Use a single stat to find out if the file exists and if it is a regular file.
* Use early returns when possible.
* Add comments explaining why we have each check.
llvm-svn: 185091
Diffstat (limited to 'libcxx/test')
0 files changed, 0 insertions, 0 deletions

