[all-commits] [llvm/llvm-project] 04ce9a: [clang-tidy] performance-unnecessary-copy-init: Ad...

Clement Courbet via All-commits all-commits at lists.llvm.org
Wed Dec 6 23:31:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04ce9a34ea82647a61b4e2a2a3cc5c93cc2f0d7d
      https://github.com/llvm/llvm-project/commit/04ce9a34ea82647a61b4e2a2a3cc5c93cc2f0d7d
  Author: Clement Courbet <courbet at google.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h

  Log Message:
  -----------
  [clang-tidy] performance-unnecessary-copy-init: Add a hook... (#73921)

... so that derived checks can can observe for which
variables a warning has been emitted. Does nothing by default, which
makes this an NFC.




More information about the All-commits mailing list