Searched refs:raw_path (Results 1 – 2 of 2) sorted by relevance
57 std::string raw_path = lldb_shlib_spec.GetPath(); in ComputeClangDirectory() local59 auto rev_it = llvm::sys::path::rbegin(raw_path); in ComputeClangDirectory()60 auto r_end = llvm::sys::path::rend(raw_path); in ComputeClangDirectory()82 raw_path.resize(parent - r_end); in ComputeClangDirectory()83 llvm::sys::path::append(clang_path, raw_path, in ComputeClangDirectory()99 raw_path.resize(parent - r_end); in ComputeClangDirectory()106 raw_path = lldb_shlib_spec.GetPath(); in ComputeClangDirectory()108 raw_path.resize(rev_it - r_end); in ComputeClangDirectory()110 raw_path.resize(rev_it - r_end); in ComputeClangDirectory()114 raw_path.append("LLDB.framework/Resources/Clang"); in ComputeClangDirectory()[all …]
132 std::string raw_path = lldb_file_spec.GetPath(); in ComputePathRelativeToLibrary() local134 llvm::StringRef parent_path = llvm::sys::path::parent_path(raw_path); in ComputePathRelativeToLibrary()142 dir.data(), raw_path.c_str()); in ComputePathRelativeToLibrary()146 raw_path = (parent_path + dir).str(); in ComputePathRelativeToLibrary()150 raw_path.c_str()); in ComputePathRelativeToLibrary()157 file_spec.GetDirectory().SetString(raw_path); in ComputePathRelativeToLibrary()