llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[Clang][analyzer] add documentation for optin performance padding (padding checker) #73675

Open komalverma04 opened this issue 11 months ago • 3 comments

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.

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

komalverma04 avatar Mar 23 '24 21:03 komalverma04