diff options
| author | DonĂ¡t Nagy <donat.nagy@ericsson.com> | 2024-05-22 15:04:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 15:04:22 +0200 |
| commit | 527276832f7e8f109dbab8eb3b01631f68cfe50e (patch) | |
| tree | 234b4f3b97cdfe1ba492aa11e5488988d82d3677 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | a699ccbf0c2d4bc5c912e096a8834cf4e04ce98b (diff) | |
| download | llvm-527276832f7e8f109dbab8eb3b01631f68cfe50e.zip llvm-527276832f7e8f109dbab8eb3b01631f68cfe50e.tar.gz llvm-527276832f7e8f109dbab8eb3b01631f68cfe50e.tar.bz2 | |
[clang-tidy][NFCI] Simplify bugprone-sizeof-expression (#93024)
This commit eliminates a redundant matcher subexpression from the
implementation of the "sizeof-pointer-to-aggregate" part of the
clang-tidy check `bugprone-sizeof-expression`.
I'm fairly certain that anything that was previously matched by the
deleted matcher `StructAddrOfExpr` is also covered by the more general
`PointerToStructExpr` (which remains in the same `anyOf`).
This commit is made to "prepare the ground" for a followup change that
would merge the functionality of the Clang Static Analyzer checker
`alpha.core.SizeofPtr` into this clang-tidy check.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
