[all-commits] [llvm/llvm-project] fc354d: [clang-tidy] Skip parentheses in `readability-make...

Evgeny Shulgin via All-commits all-commits at lists.llvm.org
Mon Mar 21 04:18:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc354d375232c22bbc13b80e4e339d8925ae2c70
      https://github.com/llvm/llvm-project/commit/fc354d375232c22bbc13b80e4e339d8925ae2c70
  Author: Evgeny Shulgin <izaronplatz at gmail.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/MakeMemberFunctionConstCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability-make-member-function-const.cpp

  Log Message:
  -----------
  [clang-tidy] Skip parentheses in `readability-make-member-function-const`

The checker should ignore parentheses when looking whether the
function should be marked as `const`.

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

Reviewed By: mgehre-amd, njames93

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




More information about the All-commits mailing list