Lines Matching +full:- +full:- +full:workdir
1 //===--- SerializablePathCollection.cpp -- Index of paths -------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 return FilePaths.size() - 1; in addFilePath()
41 : WorkDir(CurrentWorkDir), in SerializablePathCollection()
44 WorkDirPath(Paths.addDirPath(WorkDir)), in SerializablePathCollection()
51 return FileIt->second; in tryStoreFilePath()
62 // We don't want to strip separator if Dir is "/" - so we check size > 1. in tryStoreDirPath()
68 return DirIt->second; in tryStoreDirPath()
77 } else if (!WorkDir.empty() && Dir.startswith(WorkDir) && in tryStoreDirPath()
78 llvm::sys::path::is_separator(Dir[WorkDir.size()])) { in tryStoreDirPath()
80 Dir = Dir.drop_front(WorkDir.size()); in tryStoreDirPath()