Home
last modified time | relevance | path

Searched refs:PathStorage (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DYamlSymbolIndex.cpp37 for (llvm::SmallString<128> PathStorage = Directory; !Directory.empty(); in createFromDirectory() local
39 assert(Directory.size() <= PathStorage.size()); in createFromDirectory()
40 PathStorage.resize(Directory.size()); // Shrink to parent. in createFromDirectory()
41 llvm::sys::path::append(PathStorage, Name); in createFromDirectory()
42 if (auto DB = createFromFile(PathStorage)) in createFromDirectory()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileCollector.h75 struct PathStorage { struct
81 PathStorage canonicalize(StringRef SrcPath); argument
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileCollector.cpp102 FileCollector::PathCanonicalizer::PathStorage
104 PathStorage Paths; in canonicalize()
121 PathCanonicalizer::PathStorage Paths = Canonicalizer.canonicalize(SrcPath); in addFileImpl()
H A DPath.cpp969 SmallString<128> PathStorage; in create_directories() local
970 StringRef P = Path.toStringRef(PathStorage); in create_directories()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp88 SmallString<16> PathStorage; in TEST() local
89 llvm::sys::path::native("//net/dir/file1", PathStorage); in TEST()
90 expected_files.push_back(std::string(PathStorage.str())); in TEST()
91 llvm::sys::path::native("//net/dir/file2", PathStorage); in TEST()
92 expected_files.push_back(std::string(PathStorage.str())); in TEST()
93 llvm::sys::path::native("//net/file1", PathStorage); in TEST()
94 expected_files.push_back(std::string(PathStorage.str())); in TEST()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DProgram.inc46 std::wstring PathStorage;
48 PathStorage.reserve(Paths.size() * MAX_PATH);
51 PathStorage.push_back(L';');
56 PathStorage.append(TmpPath.begin(), TmpPath.end());
58 Path = PathStorage.c_str();
/llvm-project-15.0.7/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp162 llvm::FileCollector::PathCanonicalizer::PathStorage Paths = in copyToRoot()
H A DCompilerInstance.cpp806 Optional<SmallString<128>> PathStorage; in createDefaultOutputFile() local
811 PathStorage.emplace(InFile); in createDefaultOutputFile()
812 llvm::sys::path::replace_extension(*PathStorage, Extension); in createDefaultOutputFile()
813 OutputPath = *PathStorage; in createDefaultOutputFile()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc616 SmallString<128> PathStorage;
617 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
754 SmallString<128> PathStorage;
755 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
777 SmallString<128> PathStorage;
778 StringRef P = Path.toNullTerminatedStringRef(PathStorage);