diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2018-09-18 15:06:16 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2018-09-18 15:06:16 +0000 |
| commit | d4ed32c52673337cabc2a0e9b62513d91d24f379 (patch) | |
| tree | fba19657909d74c6e48dbdec75dcca7bcdc83d78 /llvm/lib/Support/Path.cpp | |
| parent | 32e5d8626d006337416ae4a4190bd498e8a5478a (diff) | |
| download | bcm5719-llvm-d4ed32c52673337cabc2a0e9b62513d91d24f379.tar.gz bcm5719-llvm-d4ed32c52673337cabc2a0e9b62513d91d24f379.zip | |
Remove dead function user_cache_directory()
It's been unused since it was added almost 3 years ago in
https://reviews.llvm.org/D13801
Motivated by https://reviews.llvm.org/rL342002 since it removes one of the
functions keeping a ref to SHGetKnownFolderPath.
Differential Revision: https://reviews.llvm.org/D52184
llvm-svn: 342485
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
| -rw-r--r-- | llvm/lib/Support/Path.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index 41f25648985..7eba5962774 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -1240,17 +1240,5 @@ Expected<TempFile> TempFile::create(const Twine &Model, unsigned Mode) { } } -namespace path { - -bool user_cache_directory(SmallVectorImpl<char> &Result, const Twine &Path1, - const Twine &Path2, const Twine &Path3) { - if (getUserCacheDir(Result)) { - append(Result, Path1, Path2, Path3); - return true; - } - return false; -} - -} // end namespace path } // end namsspace sys } // end namespace llvm |

