[PATCH] D134381: [clang-tidy] Add option WarnOnSizeOfPointerToAggregate.
Michael Benfield via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 14:26:38 PDT 2022
mbenfield updated this revision to Diff 462007.
mbenfield added a comment.
Add a test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134381/new/
https://reviews.llvm.org/D134381
Files:
clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-warn-on-sizeof-pointer-to-aggregate.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134381.462007.patch
Type: text/x-patch
Size: 9147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220921/4e4aa218/attachment.bin>
More information about the cfe-commits
mailing list