GetSystemLibraryPaths(Paths);
}
-Path
-Path::GetLLVMDefaultConfigDir() {
- return Path("/etc/llvm/");
-}
-
Path
Path::GetUserHomeDirectory() {
const char* home = getenv("HOME");
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.");