diff options
author | Pete Lawrence <34425917+PortalPete@users.noreply.github.com> | 2023-10-10 10:59:58 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 13:59:58 -0700 |
commit | 606f89ab7d537ca068fb1be9fd89d96a30de38f8 (patch) | |
tree | 2a1e2dc0ac5f15694d842a979f7d26a3f334c158 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | bfa7d10b9f1531f6bfca9d08c397347aef4a65b6 (diff) | |
download | llvm-606f89ab7d537ca068fb1be9fd89d96a30de38f8.zip llvm-606f89ab7d537ca068fb1be9fd89d96a30de38f8.tar.gz llvm-606f89ab7d537ca068fb1be9fd89d96a30de38f8.tar.bz2 |
[lldb] Fix `po` alias by printing fix-its to the console. (#68452)
The `po` alias now matches the behavior of the `expression` command when
the it can apply a Fix-It to an expression.
Modifications
- Add has `m_fixed_expression` to the `CommandObjectDWIMPrint` class a
`protected` member that stores the post Fix-It expression, just like the
`CommandObjectExpression` class.
- Converted messages to present tense.
- Add test cases that confirms a Fix-It for a C++ expression for both
`po` and `expressions`
rdar://115317419
Co-authored-by: Pete Lawrence <plawrence@apple.com>
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions