Lines Matching refs:current_path

406   llvm::SmallString<64> current_path;  in CopyByRemovingLastPathComponent()  local
407 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
408 if (llvm::sys::path::has_parent_path(current_path, m_style)) in CopyByRemovingLastPathComponent()
409 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent()
415 llvm::SmallString<64> current_path; in GetLastPathComponent() local
416 GetPath(current_path, false); in GetLastPathComponent()
417 return ConstString(llvm::sys::path::filename(current_path, m_style)); in GetLastPathComponent()
422 llvm::SmallString<64> current_path; in PrependPathComponent() local
423 GetPath(current_path, false); in PrependPathComponent()
425 llvm::sys::path::begin(current_path, m_style), in PrependPathComponent()
426 llvm::sys::path::end(current_path), m_style); in PrependPathComponent()
435 llvm::SmallString<64> current_path; in AppendPathComponent() local
436 GetPath(current_path, false); in AppendPathComponent()
437 llvm::sys::path::append(current_path, m_style, component); in AppendPathComponent()
438 SetFile(current_path, m_style); in AppendPathComponent()
446 llvm::SmallString<64> current_path; in RemoveLastPathComponent() local
447 GetPath(current_path, false); in RemoveLastPathComponent()
448 if (llvm::sys::path::has_parent_path(current_path, m_style)) { in RemoveLastPathComponent()
449 SetFile(llvm::sys::path::parent_path(current_path, m_style)); in RemoveLastPathComponent()
479 llvm::SmallString<64> current_path; in IsAbsolute() local
480 GetPath(current_path, false); in IsAbsolute()
483 if (current_path.empty()) in IsAbsolute()
487 if (current_path[0] == '~') in IsAbsolute()
490 return llvm::sys::path::is_absolute(current_path, m_style); in IsAbsolute()