[0/6] Use DISABLE_COPY_AND_ASSIGN

Message ID 20191205200852.19076-1-dmalcolm@redhat.com
Headers show
Series
  • Use DISABLE_COPY_AND_ASSIGN
Related show

Message

David Malcolm Dec. 5, 2019, 8:08 p.m.
I added DISABLE_COPY_AND_ASSIGN to various places that had a dtor
but which didn't implement a copy-ctor and assign-operator.

Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.

Pushed to branch "dmalcolm/analyzer" on the GCC git mirror.

David Malcolm (6):
  Use DISABLE_COPY_AND_ASSIGN in auto_timevar
  Use DISABLE_COPY_AND_ASSIGN in auto_client_timevar
  Use DISABLE_COPY_AND_ASSIGN in analyzer-logging.h
  Use DISABLE_COPY_AND_ASSIGN in jit-logging.h
  [analyzer] Use DISABLE_COPY_AND_ASSIGN in various places
  Use DISABLE_COPY_AND_ASSIGN in auto_delete_vec

 gcc/analyzer/analysis-plan.h      | 2 ++
 gcc/analyzer/analyzer-logging.h   | 6 ++++++
 gcc/analyzer/diagnostic-manager.h | 3 +++
 gcc/analyzer/exploded-graph.h     | 7 +++++++
 gcc/analyzer/sm.h                 | 2 ++
 gcc/analyzer/state-purge.h        | 2 ++
 gcc/jit/jit-logging.h             | 6 ++++++
 gcc/timevar.h                     | 7 ++-----
 gcc/vec.h                         | 3 +++
 9 files changed, 33 insertions(+), 5 deletions(-)

-- 
2.21.0