[clang] [libclang/python] Fix bug in `SourceRange.__contains__`, add tests (PR #101802)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 15 06:03:06 PDT 2024


================
@@ -74,6 +74,16 @@ CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void);
 CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1,
                                              CXSourceLocation loc2);
 
+/**
+ * Determine for two source locations if they refer to the same file
----------------
AaronBallman wrote:

Documentation needs to be updated.

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


More information about the cfe-commits mailing list