This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add DISABLE_COPY_AND_ASSIGN
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 19 Sep 2017 10:13:45 +0100
- Subject: Re: [PATCH] Add DISABLE_COPY_AND_ASSIGN
- Authentication-results: sourceware.org; auth=none
- References: <1500385686-19857-1-git-send-email-yao.qi@linaro.org>
>
> gdb:
>
> 2017-07-18 Yao Qi <yao.qi@linaro.org>
>
> * common/common-defs.h (DISABLE_COPY_AND_ASSIGN): New macro.
> * annotate.h (struct annotate_arg_emitter): Use
> DISABLE_COPY_AND_ASSIGN.
> * common/refcounted-object.h (refcounted_object): Likewise.
> * completer.h (struct completion_result): Likewise.
> * dwarf2read.c (struct dwarf2_per_objfile): Likewise.
> * filename-seen-cache.h (filename_seen_cache): Likewise.
> * gdbcore.h (thread_section_name): Likewise.
> * gdb_regex.h (compiled_regex): Likewise.
> * gdbthread.h (scoped_restore_current_thread): Likewise.
> * inferior.h (scoped_restore_current_inferior): Likewise.
> * jit.c (jit_reader): Likewise.
> * linespec.h (struct linespec_result): Likewise.
> * mi/mi-parse.h (struct mi_parse): Likewise.
> * nat/fork-inferior.c (execv_argv): Likewise.
> * progspace.h (scoped_restore_current_program_space): Likewise.
> * python/python-internal.h (class gdbpy_enter): Likewise.
> * regcache.h (regcache): Likewise.
> * target-descriptions.c (struct tdesc_reg): Likewise.
> (struct tdesc_type): Likewise.
> (struct tdesc_feature): Likewise.
> * ui-out.h (public:): Likewise.
DISABLE_COPY_AND_ASSIGN was committed
to include/ansidecl.h, so I pushed this patch in.
--
Yao (齐尧)