[all-commits] [llvm/llvm-project] 92a7f6: [lldb][rpc] Fix bug in convert script for RPC (#14...
Chelsea Cassanova via All-commits
all-commits at lists.llvm.org
Mon Jun 23 15:46:34 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 92a7f6fbbe489c02bad77a41cf2d4154c3885796
https://github.com/llvm/llvm-project/commit/92a7f6fbbe489c02bad77a41cf2d4154c3885796
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M lldb/scripts/convert-lldb-header-to-rpc-header.py
M lldb/test/Shell/RPC/Scripts/TestConvertScript/CheckLLDBEnumerations.test
M lldb/test/Shell/RPC/Scripts/TestConvertScript/Inputs/lldb-enumerations.h
Log Message:
-----------
[lldb][rpc] Fix bug in convert script for RPC (#145419)
In the script that's used by RPC to convert LLDB headers to LLDB RPC
headers, there's a bug with how it converts namespace usage. An
overeager regex pattern caused *all* text before any `lldb::` namespace
usage to get replaced with `lldb_rpc::` instead of just the namespace
itself. This commit changes that regex pattern to be less overeager and
modifies one of the shell tests for this script to actually check that
the namespace usage replacement is working correctly.
rdar://154126268
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list