Revert create_symbolic_link and both depending changes

This reverts commits r203136, r203137, and r203138.

This code doesn't build on Windows.  Even on Vista+, Windows requires
elevated privileges to create a symlink.  Therefore we can't use
symlinks in the compiler.  We'll have to find another approach.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner
2014-03-06 19:07:35 +00:00
parent 6c43168ce3
commit bbf1c8d24c
4 changed files with 24 additions and 72 deletions

View File

@ -293,14 +293,6 @@ error_code create_directory(const Twine &path, bool IgnoreExisting = true);
/// , otherwise a platform specific error_code.
error_code create_hard_link(const Twine &to, const Twine &from);
/// @brief Create a symbolic link from \a from to \a to.
///
/// @param to The path to link to.
/// @param from The path to link from. This is created.
/// @returns errc::success if successful
/// , otherwise a platform specific error_code.
error_code create_symbolic_link(const Twine &to, const Twine &from);
/// @brief Get the current path.
///
/// @param result Holds the current path on return.