reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
457 bool addHardLink(const Twine &From, const Twine &To);
91 VFS->addHardLink(SymlinkPath, HeaderPath); 140 VFS->addHardLink(SymlinkPath, HeaderPath); 177 VFS->addHardLink(SymlinkPath, HeaderPath);unittests/Support/VirtualFileSystemTest.cpp
1234 EXPECT_TRUE(FS.addHardLink(FromLink, Target)); 1247 EXPECT_TRUE(FS.addHardLink(Link2, Target)); 1248 EXPECT_TRUE(FS.addHardLink(Link1, Link2)); 1249 EXPECT_TRUE(FS.addHardLink(Link0, Link1)); 1256 EXPECT_FALSE(FS.addHardLink("/path/to/link", "/path/to/target")); 1264 EXPECT_FALSE(FS.addHardLink(Link, Target)); 1271 EXPECT_TRUE(FS.addHardLink(Link, Target)); 1272 EXPECT_FALSE(FS.addHardLink(Link, Target)); 1280 EXPECT_TRUE(FS.addHardLink(Link, Target)); 1290 EXPECT_TRUE(FS.addHardLink(Link, Target)); 1300 EXPECT_FALSE(FS.addHardLink(Link, Dir)); 1308 EXPECT_FALSE(FS.addHardLink(Dir, Target)); 1315 EXPECT_FALSE(FS.addHardLink("/c/d/e", "/a/b")); 1321 EXPECT_TRUE(FS.addHardLink("/c/d", "/a/b"));