reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/Path.cpp
 1239   path::replace_path_prefix(Path, OldPrefix, NewPrefix);
 1240   EXPECT_EQ(Path, "/foo");
 1241   Path = Path2;
 1242   path::replace_path_prefix(Path, OldPrefix, NewPrefix);
 1243   EXPECT_EQ(Path, "/new/foo");
 1244   Path = Path2;
 1245   path::replace_path_prefix(Path, OldPrefix, NewPrefix2);
 1246   EXPECT_EQ(Path, "/longernew/foo");
 1247   Path = Path1;
 1248   path::replace_path_prefix(Path, EmptyPrefix, NewPrefix);
 1249   EXPECT_EQ(Path, "/new/foo");
 1250   Path = Path2;
 1251   path::replace_path_prefix(Path, OldPrefix, EmptyPrefix);
 1252   EXPECT_EQ(Path, "/foo");