[all-commits] [llvm/llvm-project] 476817: [Clang][NFC] Explicitly delete copy ctor and assig...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Thu May 1 07:52:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47681736cbf6f32a70ca0aaf5d2671bc9c76112d
      https://github.com/llvm/llvm-project/commit/47681736cbf6f32a70ca0aaf5d2671bc9c76112d
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.h

  Log Message:
  -----------
  [Clang][NFC] Explicitly delete copy ctor and assignment for CGAtomicOptionsRAII (#137275)

Static analysis flagged CGAtomicOptionsRAII as having an explicit
destructor but not having explicit copy ctor and assignment. Rule of
three says we should. We are just using this as an RAII object, no need
for either so they will be specified as deleted.



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