Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang-tidy] Add bugprone-chained-comparison check #76365

Merged
merged 7 commits into from
Jan 22, 2024

Commits on Dec 25, 2023

  1. [clang-tidy] Add bugprone-chained-comparison check

    Check that flags chained comparison expressions,
    such as a < b < c or a == b == c, which may have
    unintended behavior due to implicit operator
    associativity.
    PiotrZSL committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    5ece73a View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Resolve review comments

    PiotrZSL committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    7c02aa0 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Enable check in C

    PiotrZSL committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    2eabc11 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. Refactor extract to use ifs

    PiotrZSL committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    154587f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3872f3c View commit details
    Browse the repository at this point in the history
  3. Rework implicit drop

    PiotrZSL committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    9da19e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Update formating

    PiotrZSL committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    34a9eb9 View commit details
    Browse the repository at this point in the history