[all-commits] [llvm/llvm-project] 0ca599: [clang-tidy] Add option WarnOnSizeOfPointerToAggre...
Michael Benfield via All-commits
all-commits at lists.llvm.org
Thu Sep 22 10:10:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ca5993741877ab7fd27a251cbc1895bd092d5ee
https://github.com/llvm/llvm-project/commit/0ca5993741877ab7fd27a251cbc1895bd092d5ee
Author: Michael Benfield <mbenfield at google.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
A clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-warn-on-sizeof-pointer-to-aggregate.cpp
Log Message:
-----------
[clang-tidy] Add option WarnOnSizeOfPointerToAggregate.
This is now an option under the check bugprone-sizeof-expression.
Differential Revision: https://reviews.llvm.org/D134381
More information about the All-commits
mailing list