TsXor wrote: I don't quite get what 17 meant. As far as I know about ctypes, `conf.lib.clang_getRangeStart` should be guaranteed to return an instance of `SourceLocation`. If it is to extinguish type errors, `typing.cast(SourceLocation, conf.lib.clang_getRangeStart(self))` can do this.
https://github.com/llvm/llvm-project/pull/101941 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits