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

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


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

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

>From 967d45c09eb8078df7a4792ee472429b341c742f Mon Sep 17 00:00:00 2001
From: tapplencourt <tapplencourt at anl.gov>
Date: Mon, 22 Dec 2025 19:19:26 +0000
Subject: [PATCH] Add release notes

---
 clang/docs/ReleaseNotes.rst | 2 ++
 1 file changed, 2 insertions(+)

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|?
 ==============================



More information about the cfe-commits mailing list