We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0951dd commit 3d64a3eCopy full SHA for 3d64a3e
clang/tools/libclang/CIndex.cpp
@@ -5170,7 +5170,7 @@ int clang_File_isEqual(CXFile file1, CXFile file2) {
5170
5171
FileEntryRef FEnt1 = *cxfile::getFileEntryRef(file1);
5172
FileEntryRef FEnt2 = *cxfile::getFileEntryRef(file2);
5173
- return FEnt1.getUniqueID() == FEnt2.getUniqueID();
+ return FEnt1 == FEnt2;
5174
}
5175
5176
CXString clang_File_tryGetRealPathName(CXFile SFile) {
0 commit comments