Merge TempDir and system_temp_directory.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 Aug 2014 14:47:52 +0000 (14:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 Aug 2014 14:47:52 +0000 (14:47 +0000)
commit9be4884731b20e540b13b47737f0b4acb7c66e86
tree4e0a0ae4dbeab7b31a42462021104ecb6ea2d4ee
parent083c9de5a08c29ba7e0bdefdfab21004efe7a7a1
Merge TempDir and system_temp_directory.

We had two functions for finding the temp or cache directory. Each had a
different set of smarts about OS specific APIs.

With this patch system_temp_directory becomes the only way to do it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Path.cpp
lib/Support/Unix/Path.inc
lib/Support/Windows/Path.inc