[all-commits] [llvm/llvm-project] 2602d8: [clang-tidy] Improved readability-bool-conversion ...

Félix-Antoine Constantin via All-commits all-commits at lists.llvm.org
Tue Nov 14 14:33:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2602d888d99ddcffa55dc55099b9a4dec6fdb97e
      https://github.com/llvm/llvm-project/commit/2602d888d99ddcffa55dc55099b9a4dec6fdb97e
  Author: Félix-Antoine Constantin <60141446+felix642 at users.noreply.github.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion.cpp

  Log Message:
  -----------
  [clang-tidy] Improved readability-bool-conversion to be more consistent when using parentheses (#72068)

Provides more consistent suggestions when parentheses are added to the return value.

Fixes #71852




More information about the All-commits mailing list