[clang-tidy][NFC] Simplify a lot of bugprone-sizeof-expression matchers
authorNathan James <n.james93@hotmail.co.uk>
Wed, 12 May 2021 12:18:40 +0000 (13:18 +0100)
committerNathan James <n.james93@hotmail.co.uk>
Wed, 12 May 2021 12:18:41 +0000 (13:18 +0100)
commit4c59ab34f7bda74296e42ef7ea8d83828cb45558
tree843158755f0a4be30441203278818e748c6c65a6
parentc6b96ae06f70bd0ecd28995ffc45d87edd89a84d
[clang-tidy][NFC] Simplify a lot of bugprone-sizeof-expression matchers

There should be a follow up to this for changing the traversal mode, but some of the tests don't like that.

Reviewed By: steveire

Differential Revision: https://reviews.llvm.org/D101614
clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp