[clang] [libclang/python] Add release notes for `reparse` throwring (PR #173301)

via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 22 11:21:35 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Thomas Applencourt (TApplencourt)

<details>
<summary>Changes</summary>

``TranslationUnit.reparse`` will now throw an exception when an error occurs. Previously, errors were silently ignored.

---
Full diff: https://github.com/llvm/llvm-project/pull/173301.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.rst (+2) 


``````````diff
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index ba14a50c1f177..33d0520d15b38 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -179,6 +179,8 @@ Clang Python Bindings Potentially Breaking Changes
 - Allow setting the path to the libclang library via environment variables: ``LIBCLANG_LIBRARY_PATH``
   to specifiy the path to the containing folder, or ``LIBCLANG_LIBRARY_FILE`` to specify the path to
   the library file
+- ``TranslationUnit.reparse`` will now throw an exception when an error occurs.
+  Previously, errors were silently ignored.
 
 What's New in Clang |release|?
 ==============================

``````````

</details>


https://github.com/llvm/llvm-project/pull/173301


More information about the cfe-commits mailing list