[all-commits] [llvm/llvm-project] c98b3a: Fix `performance-unnecessary-value-param` for temp...

Liu Ke via All-commits all-commits at lists.llvm.org
Sun May 29 18:56:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c98b3a8cd9856f2fcc7ba1f9ed9896b291bbab7b
      https://github.com/llvm/llvm-project/commit/c98b3a8cd9856f2fcc7ba1f9ed9896b291bbab7b
  Author: Sockke <liuke.gehry at bytedance.com>
  Date:   2022-05-30 (Mon, 30 May 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-value-param-delayed.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-value-param.cpp

  Log Message:
  -----------
  Fix `performance-unnecessary-value-param` for template specialization

The checker missed a check for parameter type of primary template of specialization template and this could cause build breakages.

Reviewed By: aaron.ballman, flx

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




More information about the All-commits mailing list