[all-commits] [llvm/llvm-project] af4451: [NFC] Make TrailingObjects non-copyable/non-movable

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Feb 23 16:30:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af4451eb4f38ce492ca38add91c8378f32b93eca
      https://github.com/llvm/llvm-project/commit/af4451eb4f38ce492ca38add91c8378f32b93eca
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2021-02-23 (Tue, 23 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Support/TrailingObjects.h

  Log Message:
  -----------
  [NFC] Make TrailingObjects non-copyable/non-movable

This got me pretty recently... TrailingObjects cannot be copied or
moved, since they need to be pre-allocated. This patch deletes the copy
and move operations (plus re-adds the default ctor).

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




More information about the All-commits mailing list