Searched refs:replacement (Results 1 – 3 of 3) sorted by relevance
71 std::string_view replacement; in ParseRootDirs() local75 replacement = arg.substr(colon_index + 1); in ParseRootDirs()78 replacement = ""; in ParseRootDirs()80 llvm::SmallString<256> norm_replacement(replacement.begin(), in ParseRootDirs()81 replacement.end()); in ParseRootDirs()119 return root_dir.replacement; in NormalizePath()123 if (root_dir.replacement.empty()) { in NormalizePath()127 if (llvm::StringRef(root_dir.replacement).endswith(separator)) { in NormalizePath()128 return root_dir.replacement + suffix.substr(separator.size()).str(); in NormalizePath()130 return root_dir.replacement + suffix.str(); in NormalizePath()
90 ASSERT_EQ("", root_dirs[0].replacement); in TEST()103 ASSERT_EQ("", cwd[0].replacement); in TEST()119 ASSERT_EQ("after", root_dirs[0].replacement); in TEST()121 ASSERT_EQ("/", root_dirs[1].replacement); in TEST()133 ASSERT_EQ("../after", root_dirs[0].replacement); in TEST()
29 std::string replacement; member32 : path(std::move(p)), replacement(std::move(r)) {} in RootDir()