Lines Matching refs:current_path
471 llvm::SmallString<64> current_path; in CopyByRemovingLastPathComponent() local
472 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
473 if (llvm::sys::path::has_parent_path(current_path, m_style)) in CopyByRemovingLastPathComponent()
474 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent()
480 llvm::SmallString<64> current_path; in GetLastPathComponent() local
481 GetPath(current_path, false); in GetLastPathComponent()
482 return ConstString(llvm::sys::path::filename(current_path, m_style)); in GetLastPathComponent()
487 llvm::SmallString<64> current_path; in PrependPathComponent() local
488 GetPath(current_path, false); in PrependPathComponent()
490 llvm::sys::path::begin(current_path, m_style), in PrependPathComponent()
491 llvm::sys::path::end(current_path), m_style); in PrependPathComponent()
500 llvm::SmallString<64> current_path; in AppendPathComponent() local
501 GetPath(current_path, false); in AppendPathComponent()
502 llvm::sys::path::append(current_path, m_style, component); in AppendPathComponent()
503 SetFile(current_path, m_style); in AppendPathComponent()
511 llvm::SmallString<64> current_path; in RemoveLastPathComponent() local
512 GetPath(current_path, false); in RemoveLastPathComponent()
513 if (llvm::sys::path::has_parent_path(current_path, m_style)) { in RemoveLastPathComponent()
514 SetFile(llvm::sys::path::parent_path(current_path, m_style)); in RemoveLastPathComponent()
546 llvm::SmallString<64> current_path; in IsAbsolute() local
547 GetPath(current_path, false); in IsAbsolute()
550 if (current_path.empty()) in IsAbsolute()
554 if (current_path[0] == '~') in IsAbsolute()
557 return llvm::sys::path::is_absolute(current_path, m_style); in IsAbsolute()