aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorDonĂ¡t Nagy <donat.nagy@ericsson.com>2024-05-22 15:04:22 +0200
committerGitHub <noreply@github.com>2024-05-22 15:04:22 +0200
commit527276832f7e8f109dbab8eb3b01631f68cfe50e (patch)
tree234b4f3b97cdfe1ba492aa11e5488988d82d3677 /lldb/source/Plugins/ScriptInterpreter/Python
parenta699ccbf0c2d4bc5c912e096a8834cf4e04ce98b (diff)
downloadllvm-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')
0 files changed, 0 insertions, 0 deletions