[clang] [libclang/python] Add equality comparison operators for File (PR #130383)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 24 04:54:05 PDT 2025


AaronBallman wrote:

> @AaronBallman do you have a clue why equality comparison for in-memory files works differently compared to on-disk files?

Are they? I think you're supposed to use `FileSystem::equivalent()` to test for it which uses an underlying unique ID.


https://github.com/llvm/llvm-project/pull/130383


More information about the cfe-commits mailing list