================
@@ -3703,7 +3729,9 @@ def __getitem__(self, key: int) -> Diagnostic:
 
         return DiagIterator(self)
 
-    def reparse(self, unsaved_files=None, options=0):
+    def reparse(
+        self, unsaved_files: list[InMemoryFile] | None = None, options: int = 0
----------------
DeinAlptraum wrote:

Why not? This is passed into `clang_reparseTranslationUnit` which is indeed 
defined as taking an `unsigned` for `options`: 
https://github.com/llvm/llvm-project/blob/0c91bc6ae659e306bffed08652ee2f1091efcdb9/clang/include/clang-c/Index.h#L1082

https://github.com/llvm/llvm-project/pull/180876
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to