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

Barnabás Pőcze via All-commits all-commits at lists.llvm.org
Sun Jan 12 01:08:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5364444bd0dbbd60e83ee6cf11adabd72f4df54
      https://github.com/llvm/llvm-project/commit/a5364444bd0dbbd60e83ee6cf11adabd72f4df54
  Author: Barnabás Pőcze <pobrn at protonmail.com>
  Date:   2025-01-12 (Sun, 12 Jan 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp

  Log Message:
  -----------
  [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (#119974)

Static member functions can be considered the same way as free functions
are, so do that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list