[Lldb-commits] [lldb] [lldb][scripts] Fix bugs in framework fix script (PR #145961)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 26 13:34:37 PDT 2025


================
@@ -20,7 +20,7 @@
 
 # Main header regexes
 INCLUDE_FILENAME_REGEX = re.compile(
-    r'#include "lldb/API/(?P<include_filename>.*){0,1}"'
+    r'#include "lldb/(API/){0,1}(?P<include_filename>.*){0,1}"'
----------------
chelcassanova wrote:

Such that we have `r'#include "lldb/(API/)?(?P<include_filename>.*){0,1}"'` instead of `r'#include "lldb/(API/){0,1}(?P<include_filename>.*){0,1}"'`. I just tried it and the test still works, updating the patch.

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


More information about the lldb-commits mailing list