[PATCH] D134381: [clang-tidy] Add option WarnOnSizeOfPointerToAggregate.
Michael Benfield via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 13:15:21 PDT 2022
mbenfield created this revision.
mbenfield added a reviewer: mizvekov.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
mbenfield requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
This is now an option under the check bugprone-sizeof-expression.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134381
Files:
clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134381.461993.patch
Type: text/x-patch
Size: 6749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220921/e1b8ba38/attachment.bin>
More information about the cfe-commits
mailing list