[all-commits] [llvm/llvm-project] c7dac5: [clang-tidy] Improved too-small-loop-variable with...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sun Feb 26 06:54:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7dac52203a0c056bfcb35735e62c37a64e50bfa
      https://github.com/llvm/llvm-project/commit/c7dac52203a0c056bfcb35735e62c37a64e50bfa
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-02-26 (Sun, 26 Feb 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/too-small-loop-variable.cpp

  Log Message:
  -----------
  [clang-tidy] Improved too-small-loop-variable with bit-field support

Implemented support for bit-field members as a loop variable
or upper limit. Supporting also non bit-field integer members.

Fixes issues: https://github.com/llvm/llvm-project/issues/58614

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D142587




More information about the All-commits mailing list