[llvm-branch-commits] [lldb] [lldb] Add extended variable support to Get*VariableList. (PR #181501)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Feb 14 11:03:59 PST 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- lldb/include/lldb/Target/BorrowedStackFrame.h lldb/include/lldb/Target/StackFrame.h lldb/source/API/SBFrame.cpp lldb/source/Commands/CommandObjectFrame.cpp lldb/source/Core/IOHandlerCursesGUI.cpp lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp lldb/source/Plugins/Process/scripted/ScriptedFrame.h lldb/source/Symbol/Variable.cpp lldb/source/Target/BorrowedStackFrame.cpp lldb/source/Target/StackFrame.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/include/lldb/Target/StackFrame.h b/lldb/include/lldb/Target/StackFrame.h
index 83f863baf..72a66159b 100644
--- a/lldb/include/lldb/Target/StackFrame.h
+++ b/lldb/include/lldb/Target/StackFrame.h
@@ -275,7 +275,8 @@ public:
///
/// \return
/// A pointer to a list of variables.
- virtual VariableList *GetVariableList(bool get_file_globals, bool include_extended_vars,
+ virtual VariableList *GetVariableList(bool get_file_globals,
+ bool include_extended_vars,
Status *error_ptr);
/// Retrieve the list of variables that are in scope at this StackFrame's
@@ -304,7 +305,8 @@ public:
/// \return
/// A pointer to a list of variables.
virtual lldb::VariableListSP
- GetInScopeVariableList(bool get_file_globals, bool include_extended_vars = true,
+ GetInScopeVariableList(bool get_file_globals,
+ bool include_extended_vars = true,
bool must_have_valid_location = false);
/// Create a ValueObject for a variable name / pathname, possibly including
``````````
</details>
https://github.com/llvm/llvm-project/pull/181501
More information about the llvm-branch-commits
mailing list