[all-commits] [llvm/llvm-project] fefe20: [clang-tidy] performance-unnecessary-copy-initiali...

Felix Berger via All-commits all-commits at lists.llvm.org
Sat Nov 20 12:15:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fefe20b99313d6b0738806d1504652c3b7edb9e0
      https://github.com/llvm/llvm-project/commit/fefe20b99313d6b0738806d1504652c3b7edb9e0
  Author: Felix Berger <flx at google.com>
  Date:   2021-11-20 (Sat, 20 Nov 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization-excluded-container-types.cpp

  Log Message:
  -----------
  [clang-tidy] performance-unnecessary-copy-initialization: Correctly match the type name of the thisPointertype.

The matching did not work correctly for pointer and reference types.

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

Reviewed-by: courbet




More information about the All-commits mailing list