[clang] [clang] NFCI: Use `FileEntryRef` in `SourceManager::FileInfos` (PR #67742)
Ben Langmuir via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 28 16:31:43 PDT 2023
================
@@ -179,6 +179,46 @@ TEST(FileEntryTest, DenseMapInfo) {
EXPECT_TRUE(Set.find(R1)->isSameRef(R1));
EXPECT_TRUE(Set.find(R2)->isSameRef(R2));
}
+
+ // Insert R1Also second and confirm R1 "wins" when looked up as FileEntry.
----------------
benlangmuir wrote:
This comment looks like it's for the other test case. R1Also is inserted first and it wins here.
https://github.com/llvm/llvm-project/pull/67742
More information about the cfe-commits
mailing list