Lines Matching refs:current_path
407 llvm::SmallString<64> current_path; in CopyByRemovingLastPathComponent() local
408 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
409 if (llvm::sys::path::has_parent_path(current_path, m_style)) in CopyByRemovingLastPathComponent()
410 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent()
416 llvm::SmallString<64> current_path; in GetLastPathComponent() local
417 GetPath(current_path, false); in GetLastPathComponent()
418 return ConstString(llvm::sys::path::filename(current_path, m_style)); in GetLastPathComponent()
423 llvm::SmallString<64> current_path; in PrependPathComponent() local
424 GetPath(current_path, false); in PrependPathComponent()
426 llvm::sys::path::begin(current_path, m_style), in PrependPathComponent()
427 llvm::sys::path::end(current_path), m_style); in PrependPathComponent()
436 llvm::SmallString<64> current_path; in AppendPathComponent() local
437 GetPath(current_path, false); in AppendPathComponent()
438 llvm::sys::path::append(current_path, m_style, component); in AppendPathComponent()
439 SetFile(current_path, m_style); in AppendPathComponent()
447 llvm::SmallString<64> current_path; in RemoveLastPathComponent() local
448 GetPath(current_path, false); in RemoveLastPathComponent()
449 if (llvm::sys::path::has_parent_path(current_path, m_style)) { in RemoveLastPathComponent()
450 SetFile(llvm::sys::path::parent_path(current_path, m_style)); in RemoveLastPathComponent()
480 llvm::SmallString<64> current_path; in IsAbsolute() local
481 GetPath(current_path, false); in IsAbsolute()
484 if (current_path.empty()) in IsAbsolute()
488 if (current_path[0] == '~') in IsAbsolute()
491 return llvm::sys::path::is_absolute(current_path, m_style); in IsAbsolute()