================
@@ -3604,7 +3589,7 @@ def reparse(self, unsaved_files=None, options=0):
)
)
if result != 0:
- msg = "Error reparsing translation unit. Error code: " +
str(result)
+ msg: str = f"Error reparsing translation unit. Error code:
{result}"
----------------
mikomikotaishi wrote:
Apologies, I copied this from my other PR that added type annotations.
https://github.com/llvm/llvm-project/pull/173861
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits