Home
last modified time | relevance | path

Searched refs:isSameRef (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/unittests/Basic/
DFileEntryTest.cpp114 TEST(FileEntryTest, isSameRef) { in TEST() argument
120 EXPECT_TRUE(R1.isSameRef(FileEntryRef(R1))); in TEST()
121 EXPECT_TRUE(R1.isSameRef(FileEntryRef(R1.getMapEntry()))); in TEST()
122 EXPECT_FALSE(R1.isSameRef(R2)); in TEST()
123 EXPECT_FALSE(R1.isSameRef(R1Also)); in TEST()
138 EXPECT_TRUE(Set.find(R1Also)->isSameRef(R1Also)); in TEST()
139 EXPECT_TRUE(Set.find(R1)->isSameRef(R1Also)); in TEST()
140 EXPECT_TRUE(Set.find(R2)->isSameRef(R2)); in TEST()
149 EXPECT_TRUE(Set.find(R1Also)->isSameRef(R1)); in TEST()
150 EXPECT_TRUE(Set.find(R1)->isSameRef(R1)); in TEST()
[all …]
DFileManagerTest.cpp399 EXPECT_TRUE(F1->isSameRef(*F1Again)); in TEST_F()
400 EXPECT_TRUE(F1->isSameRef(*F1Redirect)); in TEST_F()
401 EXPECT_FALSE(F1->isSameRef(*F1Also)); in TEST_F()
402 EXPECT_FALSE(F1->isSameRef(*F2)); in TEST_F()
/external/llvm-project/clang/include/clang/Basic/
DDirectoryEntry.h62 bool isSameRef(DirectoryEntryRef RHS) const { return ME == RHS.ME; } in isSameRef() function
104 return isSameRef(DirectoryEntryRef(dense_map_empty_tag())) ||
105 isSameRef(DirectoryEntryRef(dense_map_tombstone_tag()));
212 if (LHS.isSameRef(RHS))
DFileEntry.h125 bool isSameRef(const FileEntryRef &RHS) const { return ME == RHS.ME; } in isSameRef() function
175 return isSameRef(FileEntryRef(dense_map_empty_tag())) ||
176 isSameRef(FileEntryRef(dense_map_tombstone_tag()));
239 if (LHS.isSameRef(RHS))