aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileUtilities.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-10 17:16:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-10 17:16:40 +0000
commit4d08d8bada101a06ba2348492dfa8085f08c2736 (patch)
treebe5c4c89ea82bc304724947db8658e062d999c85 /llvm/lib/Support/FileUtilities.cpp
parentd3f6fe51ab4f2886ab90be592d8826736b2a9094 (diff)
downloadllvm-4d08d8bada101a06ba2348492dfa8085f08c2736.zip
llvm-4d08d8bada101a06ba2348492dfa8085f08c2736.tar.gz
llvm-4d08d8bada101a06ba2348492dfa8085f08c2736.tar.bz2
Use status to implement file_size.
The status function is already using a syscall that returns the file size. Remember it and implement file_size as a simple wrapper. No functionally change, but clients that already use status now can avoid calling file_size. llvm-svn: 186016
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions