[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 10:59:53 PDT 2024


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


More information about the cfe-commits mailing list