[all-commits] [llvm/llvm-project] 3b672e: [llvm] Use "= delete" to delete constructors (NFC)...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Jun 19 13:18:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b672e1d7b7375ca2a048cfb252d0e8ff35724e2
      https://github.com/llvm/llvm-project/commit/3b672e1d7b7375ca2a048cfb252d0e8ff35724e2
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M llvm/unittests/ADT/TestGraph.h
    M llvm/unittests/Support/Casting.cpp

  Log Message:
  -----------
  [llvm] Use "= delete" to delete constructors (NFC) (#144938)

None of the constructors touched in this patch has a corresponding
definition.  This patch explicitly deletes them with "= delete" while
moving them to the public section of respective classes.  Note that "=
delete" itself serves as documentation.

Identified with modernize-use-equals-delete.



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