Support/Program: Make Change<stream>ToBinary return error_code.
[oota-llvm.git] / lib / Support / Unix / Path.inc
index a139399cba3b7040f9cdc529120497fe341e9b0f..418dc0733499d56fd0af10adc21c65b0a695378f 100644 (file)
@@ -234,11 +234,6 @@ Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) {
   GetSystemLibraryPaths(Paths);
 }
 
-Path
-Path::GetLLVMDefaultConfigDir() {
-  return Path("/etc/llvm/");
-}
-
 Path
 Path::GetUserHomeDirectory() {
   const char* home = getenv("HOME");
@@ -251,9 +246,6 @@ Path::GetUserHomeDirectory() {
 
 Path
 Path::GetCurrentDirectory() {
-  if (char *pwd = getenv("PWD"))
-    return Path(pwd);
-
   char pathname[MAXPATHLEN];
   if (!getcwd(pathname, MAXPATHLEN)) {
     assert(false && "Could not query current working directory.");