[all-commits] [llvm/llvm-project] 68ef91: Delete PrintingPolicy's copy constructor/operator.

Erich Keane via All-commits all-commits at lists.llvm.org
Fri Jul 23 11:24:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68ef916659b9cd4127276f9502fc2870ca6cfdea
      https://github.com/llvm/llvm-project/commit/68ef916659b9cd4127276f9502fc2870ca6cfdea
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M clang/include/clang/AST/PrettyPrinter.h

  Log Message:
  -----------
  Delete PrintingPolicy's copy constructor/operator.

This type is 'fat' now thanks to the callbacks, so it should never be
copied as far as I know.  Delete the copy operations so that we don't do
so accidentially.




More information about the All-commits mailing list