diff options
author | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-27 14:30:56 -0700 |
---|---|---|
committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-27 16:01:46 -0700 |
commit | 40b0fa7ef2123866b2252ef6990040c2707cabe4 (patch) | |
tree | f065db0cdedbb14a78485f4f90cd59b0edd09871 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 418d1ea555cd18bef83b35c9ee9bbc18a3da9abe (diff) | |
download | bcm5719-llvm-40b0fa7ef2123866b2252ef6990040c2707cabe4.tar.gz bcm5719-llvm-40b0fa7ef2123866b2252ef6990040c2707cabe4.zip |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions