llvm-project
llvm-project copied to clipboard
[Clang][analyzer] add documentation for optin performance padding (padding checker) #73675
Added documentation for optin.performance.Padding.
- Performance package has
PaddingChecker
checker. - It checks for excessively padded structs.
- It has one option that is
AllowedPad
, an integer option. - It's default value is 24 bytes.
- Reports are generated when padding exceeds
AllowedPad
.
- Reports are generated when padding exceeds
- It has one option that is
Purpose
The purpose of this pull request is to improve the clarity and completeness of the documentation for PaddingChecker in the optin.performance.Padding checker.
Closes #73675