[all-commits] [llvm/llvm-project] 356602: [clang-tidy] Fix readability-simplify-boolean-expr...

Nathan James via All-commits all-commits at lists.llvm.org
Wed May 18 12:47:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35660247dd9ce850dccd60cc55428a510dbdd1c8
      https://github.com/llvm/llvm-project/commit/35660247dd9ce850dccd60cc55428a510dbdd1c8
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
    A clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-cxx17.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr.cpp

  Log Message:
  -----------
  [clang-tidy] Fix readability-simplify-boolean-expr when Ifs have an init statement or condition variable

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

Reviewed By: LegalizeAdulthood

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




More information about the All-commits mailing list