================ @@ -1621,7 +1628,7 @@ class ExceptionSpecificationKind(BaseEnumeration): ### Cursors ### -def cursor_null_guard(func): +def cursor_null_guard(func: CursorCallable[P, T]) -> CursorCallable[P, T]: ---------------- Endilll wrote:
I this I understand what's going on here, but this definitely warrants an explanation for future maintaners, either as a comment or at least in the PR description. I'd prefer this to be in a separate PR with the explanation in the description. https://github.com/llvm/llvm-project/pull/193304 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
