[all-commits] [llvm/llvm-project] 40b0fa: [LLDB][formatters] ArgInfo::count -> ArgInfo::max_...
smoofra via All-commits
all-commits at lists.llvm.org
Sun Oct 27 16:02:30 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 40b0fa7ef2123866b2252ef6990040c2707cabe4
https://github.com/llvm/llvm-project/commit/40b0fa7ef2123866b2252ef6990040c2707cabe4
Author: Lawrence D'Anna <lawrence_danna at apple.com>
Date: 2019-10-27 (Sun, 27 Oct 2019)
Changed paths:
M lldb/scripts/Python/python-wrapper.swig
Log Message:
-----------
[LLDB][formatters] ArgInfo::count -> ArgInfo::max_positional_args
Summary:
Move breakpoints from the old, bad ArgInfo::count to the new, better
ArgInfo::max_positional_args. Soon ArgInfo::count will be no more.
This functionality is tested in `TestFormatters.py`, `TestDataFormatterSynthVal.py`,
`TestDataFormatterSynthType.py`.
You may notice that the old code was passing 0 arguments when count was 1, and passing
1 argument when count is 2.
This is no longer necessary because max_positional_args counts the self pointer
correctly.
Reviewers: labath, jingham, JDevlieghere
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69469
More information about the All-commits
mailing list