================
@@ -424,7 +424,7 @@ def location(self):
 
     @property
     def spelling(self):
-        return conf.lib.clang_getDiagnosticSpelling(self)  # type: ignore 
[no-any-return]
+        return 
_CXString.from_result(conf.lib.clang_getDiagnosticSpelling(self))
----------------
DeinAlptraum wrote:

This allows us to remove 30 out of the 98 existing `type: ignore 
[no-any-return]` statements

https://github.com/llvm/llvm-project/pull/105490
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to